scripts/checkpatch.pl: fix root dir detection and enable it
Don't try to find files specific for linux kernel. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
This commit is contained in:
parent
343e16026e
commit
f08148e640
2 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
||||||
--mailback
|
--mailback
|
||||||
--no-tree
|
|
||||||
--emacs
|
--emacs
|
||||||
--summary-file
|
--summary-file
|
||||||
--show-types
|
--show-types
|
||||||
|
|
|
@ -1016,9 +1016,9 @@ sub top_of_kernel_tree {
|
||||||
my ($root) = @_;
|
my ($root) = @_;
|
||||||
|
|
||||||
my @tree_check = (
|
my @tree_check = (
|
||||||
"COPYING", "CREDITS", "Kbuild", "Makefile",
|
"LICENSE", "CODEOWNERS", "Kconfig", "Makefile",
|
||||||
"README", "Documentation", "arch", "include", "drivers",
|
"README.rst", "doc", "arch", "include", "drivers",
|
||||||
"fs", "init", "ipc", "kernel", "lib", "scripts",
|
"boards", "kernel", "lib", "scripts",
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach my $check (@tree_check) {
|
foreach my $check (@tree_check) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue