aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-11-18 21:38:59 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-11-18 21:50:53 +0100
commit6fdd4187e0b1b5aacbe0130d8c343c7eb4b2f2e7 (patch)
treef3044915aa836db795b4d8af623da466eb749c86 /scripts/checkpatch.pl
parente0cc68daad31ea255bcbf9bfe71cd5bad913f447 (diff)
downloadupstream-6fdd4187e0b1b5aacbe0130d8c343c7eb4b2f2e7.tar.gz
upstream-6fdd4187e0b1b5aacbe0130d8c343c7eb4b2f2e7.tar.bz2
upstream-6fdd4187e0b1b5aacbe0130d8c343c7eb4b2f2e7.zip
scripts: checkpatch.pl: suppress warnings about MAINTAINERS
The kernel expects changes to MAINTAINERS for all removed or added files, printing warnings like: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #828: deleted file mode 100644 Since this does not apply to "our" files in OpenWrt repo, this warning should be disabled. This can be achieved easiest by setting $reported_maintainer_file to 1. While this is a hack that tricks the script into believing the proper MAINTAINERS changes have been made, it's the easiest solution as it does not require to touch any other code. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 9da28baf35..8ffc093548 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2355,7 +2355,7 @@ sub process {
my $commit_log_possible_stack_dump = 0;
my $commit_log_long_line = 0;
my $commit_log_has_diff = 0;
- my $reported_maintainer_file = 0;
+ my $reported_maintainer_file = 1;
my $non_utf8_charset = 0;
my $last_blank_line = 0;