[FE training-materials-updates] Replace check_patch.pl by checkpatch.pl

Michael Opdenacker michael.opdenacker at free-electrons.com
Sat Jul 6 07:08:52 CEST 2013


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=87c15dd9e32e67d8894fcfc2c69fba90fa73d610

>---------------------------------------------------------------

commit 87c15dd9e32e67d8894fcfc2c69fba90fa73d610
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Sat Jul 6 07:07:37 2013 +0200

    Replace check_patch.pl by checkpatch.pl
    
    - Was using a wrong name
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


>---------------------------------------------------------------

87c15dd9e32e67d8894fcfc2c69fba90fa73d610
 labs/kernel-git/kernel-git.tex                   |    4 ++--
 slides/kernel-git-content/kernel-git-content.tex |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/labs/kernel-git/kernel-git.tex b/labs/kernel-git/kernel-git.tex
index dd9f71a..af37d19 100644
--- a/labs/kernel-git/kernel-git.tex
+++ b/labs/kernel-git/kernel-git.tex
@@ -62,7 +62,7 @@ Find something to modify in the Linux kernel sources. Here are ideas:
 \begin{itemize}
 \item Choose an ARM defconfig file, apply it, run \code{make} and fix compile warnings
 \item Implement changes recommended in the Kernel Janitors page: \url{http://kernelnewbies.org/KernelJanitors/Todo}
-\item Run the \code{scripts/check_patch.pl} command on a subdirectory of the Linux tree.
+\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.
@@ -94,7 +94,7 @@ Before a final submission to the Linux kernel maintainers and community, you
 should run the below checks:
 
 \begin{itemize}
-\item Run \code{scripts/check_patch.pl} on each of your patches.
+\item Run \code{scripts/checkpatch.pl} on each of your patches.
       Fix the errors and warnings that you get, and commit them.
 \item Make sure that your modified code compiles with no warning,
       and if possible, that it also executes well.
diff --git a/slides/kernel-git-content/kernel-git-content.tex b/slides/kernel-git-content/kernel-git-content.tex
index c6e5afb..02aef2b 100644
--- a/slides/kernel-git-content/kernel-git-content.tex
+++ b/slides/kernel-git-content/kernel-git-content.tex
@@ -383,7 +383,7 @@ Signed-off-by: David S. Miller <davem at davemloft.net>
   \item Run \code{git add} to add any new files to the index.
   \item Check that each file you modified is ready for submission:
     \begin{itemize}
-    \item \code{scripts/check_patch.pl --strict --file <file>}
+    \item \code{scripts/checkpatch.pl --strict --file <file>}
     \end{itemize}
   \item If needed, fix indenting rule violations:
     \begin{itemize}
@@ -460,7 +460,7 @@ ARM: add support for xz kernel decompression
     \end{itemize}
   \item You can run a last check on all your patches (easy)
     \begin{itemize}
-    \item \code{scripts/check_patch.pl --strict 00*.patch}
+    \item \code{scripts/checkpatch.pl --strict 00*.patch}
     \end{itemize}
   \item Now, send your patches to yourself
     \begin{itemize}



More information about the training-materials-updates mailing list