[PATCH] scripts/checkpatch.pl: don't search for CREDITS when checking top_of_kernel_tree()
Antony Pavlov
antonynpavlov at gmail.com
Mon Jan 19 12:56:08 PST 2015
The CREDITS file is removed in the commit
commit 6570288f2d97d3a3dceb3e631b4e4f4305352dc8
Author: Masahiro Yamada <yamada.m at jp.panasonic.com>
Date: Tue Jan 13 14:27:07 2015 +0900
Remove the CREDITS file
But checkpatch.pl still trying to check it presence.
There is not such CREDITS file and checkpatch.pl exits with
'Must be run from the top-level dir. of a kernel tree' message.
Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 419436d..a40d32c 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -328,7 +328,7 @@ sub top_of_kernel_tree {
my ($root) = @_;
my @tree_check = (
- "arch", "commands", "common", "COPYING", "CREDITS", "defaultenv",
+ "arch", "commands", "common", "COPYING", "defaultenv",
"Documentation", "drivers", "fs", "include", "lib",
"MAKEALL", "Makefile", "net", "README", "scripts", "TODO"
);
--
2.1.1
More information about the barebox
mailing list