summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2018-09-13 00:19:51 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2018-09-18 08:50:26 +0200
commit13b0f4666db5dd55e116a9011fb769a53c3a382f (patch)
tree86bcd066961dc1b6a4bcdeb395d72813ca88d1ad /scripts
parentbf8f28c05cacbb0771f5c2ce0e552e6c84a495b4 (diff)
downloadbarebox-13b0f4666db5dd55e116a9011fb769a53c3a382f.tar.gz
barebox-13b0f4666db5dd55e116a9011fb769a53c3a382f.tar.xz
checkpatch: don't check TODO file presence
The commit b3baf2d86149 ("TODO: remove unused file") drops the TODO file. Alas scripts/checkpatch.pl checks TODO file presence in top_of_kernel_tree(). Without TODO checkpatch.pl exits with 'Must be run from the top-level dir. of a kernel tree'. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 48ad4938d9..9a6f6e2298 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -330,7 +330,7 @@ sub top_of_kernel_tree {
my @tree_check = (
"arch", "commands", "common", "COPYING", "defaultenv",
"Documentation", "drivers", "fs", "include", "lib",
- "MAKEALL", "Makefile", "net", "README", "scripts", "TODO"
+ "MAKEALL", "Makefile", "net", "README", "scripts"
);
foreach my $check (@tree_check) {