[Devel] [PATCH VZ9/VZ10 1/2] checkpatch: Drop COPYING file check

Vladimir Riabchun vladimir.riabchun at virtuozzo.com
Fri May 29 13:14:06 MSK 2026


This useful script first ensures that we are in the right place
by checking files.
Our COPYING file has a version-dependent suffix, so drop this check.

Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
---
 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 4427572b2477..a371a9cef46a 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1378,7 +1378,7 @@ sub top_of_kernel_tree {
 	my ($root) = @_;
 
 	my @tree_check = (
-		"COPYING", "CREDITS", "Kbuild", "MAINTAINERS", "Makefile",
+		"CREDITS", "Kbuild", "MAINTAINERS", "Makefile",
 		"README", "Documentation", "arch", "include", "drivers",
 		"fs", "init", "ipc", "kernel", "lib", "scripts",
 	);
-- 
2.47.1



More information about the Devel mailing list