Skip to contentSkip to conversation

scripts: Move ipc/ to kernel/ipc/: don't check the ipc dir

PATCH In review Yunfeng Ye 2 participants 2 messages Sep 26, 2019

Subsystems (2)
lore
Share & tools
lore

Yunfeng Ye

author
#0 lore raw

PATCH v2 1/1 scripts: Move ipc/ to kernel/ipc/: don't check the ipc dir

After the commit 76128326f97c ("toplevel: Move ipc/ to kernel/ipc/: move the files"), we met some error messages:

./scripts/checkpatch.pl:
"Must be run from the top-level dir. of a kernel tree"

./scripts/get_maintainer.pl:
"The current directory does not appear to be a linux kernel source tree.

Don't check the ipc dir in checkpatch.pl and get_maintainer.pl.

---
v1 -> v2:
- update the subject "scripts:" instead of "toplevel:"

 scripts/checkpatch.pl     | 2 +-
 scripts/get_maintainer.pl | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
scripts/checkpatch.pl +1 -1
index 93a7edf..6117d0e 100755
@@ -1097,7 +1097,7 @@ sub top_of_kernel_tree {
 	my @tree_check = (
 		"COPYING", "CREDITS", "Kbuild", "MAINTAINERS", "Makefile",
 		"README", "Documentation", "arch", "include", "drivers",
-		"fs", "init", "ipc", "kernel", "lib", "scripts",
+		"fs", "init", "kernel", "lib", "scripts",
 	);
 
 	foreach my $check (@tree_check) {
scripts/get_maintainer.pl +0 -1
index 5ef5921..2e42aeb 100755
@@ -1109,7 +1109,6 @@ sub top_of_kernel_tree {
 	&& (-d "${lk_path}drivers")
 	&& (-d "${lk_path}fs")
 	&& (-d "${lk_path}init")
-	&& (-d "${lk_path}ipc")
 	&& (-d "${lk_path}kernel")
 	&& (-d "${lk_path}lib")
 	&& (-d "${lk_path}scripts")) {
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 10 lines · Yunfeng Ye

After the commit 76128326f97c ("toplevel: Move ipc/ to kernel/ipc/: move the files"), we met some error messages:

./scripts/checkpatch.pl:
"Must be run from the top-level dir. of a kernel tree"

./scripts/get_maintainer.pl:
"The current directory does not appear to be a linux kernel source tree.

Don't check the ipc dir in checkpatch.pl and get_maintainer.pl.

Thanks.