[FE training-materials-updates] git lab: update contribution suggestions

Michael Opdenacker michael.opdenacker at free-electrons.com
Fri Mar 18 15:37:42 CET 2016

Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=9eabd23f0e6b6bf317c1f588a388c98f3bb37264


commit 9eabd23f0e6b6bf317c1f588a388c98f3bb37264
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Fri Mar 18 15:37:42 2016 +0100

    git lab: update contribution suggestions
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


 labs/kernel-git/kernel-git.tex | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/labs/kernel-git/kernel-git.tex b/labs/kernel-git/kernel-git.tex
index 209d1d0..2585855 100644
--- a/labs/kernel-git/kernel-git.tex
+++ b/labs/kernel-git/kernel-git.tex
@@ -44,9 +44,19 @@ Find something to modify in the Linux kernel sources. Here are ideas:
 \item Implement changes recommended in the Kernel Janitors page: \url{http://kernelnewbies.org/KernelJanitors/Todo}
 \item Run the \code{scripts/checkpatch.pl} command on a subdirectory of the Linux tree.
       You can do that with \url{http://free-electrons.com/labs/run-checkpatch}
-\item Remove deprecated features. For example, \code{IRQF_DISABLED} no longer does anything,
-      but is still in use in many drivers. Find drivers that use this symbol, and fix them.
 \item Look for spelling mistakes in documentation, or classical mistakes like "the the", "a a"...
+\item Look for unnecessary includes in C source files.
+\item Device tree sources: simplify them by replacing nodes that are
+      instantiated again in the \code{.dts} files (with their location
+      in the tree) by a {\em phandle} to a definition in the \code{.dtsi} file
+      (simpler because you don't have to repeat the location in the tree).
+      Make sure that the new DT is equivalent by decompiling and comparing the old DTB
+      and the new DTB (\code{dtc -I dtb}).
+\item Run \code{apt-get install coccinelle} and \code{make coccicheck}
+      and try to propose fixes for the reported bugs (\code{coccinelle}
+      can propose patches too, but they need to be reviewed by humans
+      before submission.
 Before making changes, create a new branch and move into it.

More information about the training-materials-updates mailing list