aboutsummaryrefslogtreecommitdiff
path: root/util/lint/checkpatch.pl
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2015-05-06 11:51:25 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-05-08 20:05:02 +0200
commitc5269007c9bdeb3acae945ed39001983367d5c51 (patch)
tree1de3f09972e9a1372d93c6fb91f99c3d90493bde /util/lint/checkpatch.pl
parent69b88bf1276d2cb0309e2fc96df9d33a893138e3 (diff)
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@coreboot.org> Reviewed-on: http://review.coreboot.org/10125 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/lint/checkpatch.pl')
-rwxr-xr-xutil/lint/checkpatch.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl
index c0d3d96b07..2f1f56cadd 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) {