summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2015-01-19 23:56:08 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-20 07:57:19 +0100
commitad3c55fbf27a134dc678a9c40922a04d1c697064 (patch)
tree11078682bbf096ac288f4830b19f8edbc365d3b4 /scripts/checkpatch.pl
parentccc0a2f03aeb79d866e2c480d0ae9f30e58099cb (diff)
downloadbarebox-ad3c55fbf27a134dc678a9c40922a04d1c697064.tar.gz
barebox-ad3c55fbf27a134dc678a9c40922a04d1c697064.tar.xz
scripts/checkpatch.pl: don't search for CREDITS when checking top_of_kernel_tree()
The CREDITS file is removed in the commit commit 6570288f2d97d3a3dceb3e631b4e4f4305352dc8 Author: Masahiro Yamada <yamada.m@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@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 419436dede..a40d32cba7 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"
);