[coreboot-gerrit] New patch to review for coreboot: e517ab6 checkpatch: fix tree recognition

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed May 6 20:53:12 CEST 2015


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10125

-gerrit

commit e517ab6c965c3db7fd17331cda062ce05f1ea260
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Wed May 6 11:51:25 2015 -0700

    checkpatch: fix tree recognition
    
    With the recent rename of documentation -> Documentation, the
    checkpatch.pl script broke. Fix the tree check, and change the
    user visible output of "kernel" to coreboot.
    
    Change-Id: I34f538d4436e468b1c91eb36aa2f60a2a3308111
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 util/lint/checkpatch.pl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl
index c0d3d96..2f1f56c 100755
--- a/util/lint/checkpatch.pl
+++ b/util/lint/checkpatch.pl
@@ -57,7 +57,7 @@ Version: $V
 
 Options:
   -q, --quiet                quiet
-  --no-tree                  run without a kernel tree
+  --no-tree                  run without a coreboot tree
   --no-signoff               do not check for 'Signed-off-by' line
   --patch                    treat FILE as patchfile (default)
   --emacs                    emacs compile window format
@@ -69,7 +69,7 @@ Options:
   --max-line-length=n        set the maximum line length, if exceeded, warn
   --min-conf-desc-length=n   set the min description length, if shorter, warn
   --show-types               show the message "types" in the output
-  --root=PATH                PATH to the kernel tree root
+  --root=PATH                PATH to the coreboot tree root
   --no-summary               suppress the per-file summary
   --mailback                 only produce a report in case of warnings/errors
   --summary-file             include the filename in summary
@@ -233,7 +233,7 @@ if ($tree) {
 	}
 
 	if (!defined $root) {
-		print "Must be run from the top-level dir. of a kernel tree\n";
+		print "Must be run from the top-level dir. of a coreboot tree\n";
 		exit(2);
 	}
 }
@@ -700,7 +700,7 @@ sub top_of_kernel_tree {
 
 	my @tree_check = (
 		"COPYING", "README", "Makefile", "Makefile.inc",
-		"src", "documentation", "util", "payloads",
+		"src", "Documentation", "util", "payloads",
 	);
 
 	foreach my $check (@tree_check) {



More information about the coreboot-gerrit mailing list