Skip to contentSkip to conversation

scripts/checkpatch.pl: don't search for CREDITS when checking top_of_kernel_tree()

PATCH Applied Antony Pavlov 2 participants 2 messages Jan 19, 2015 – Jan 20, 2015 Checkpatch

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
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.

---
 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/checkpatch.pl +1 -1
index 419436d..a40d32c 100755
@@ -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"
 	);
Signature · 7 lines
2.1.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 6 lines · Antony Pavlov

The CREDITS file is removed in the commit

commit 6570288f2d97d3a3dceb3e631b4e4f4305352dc8
Author: Masahiro Yamada <[email protected]>
Date: Tue Jan 13 14:27:07 2015 +0900

Quoted 7 lines

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.

Applied, thanks

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox