When a file is added, deleted or renamed checkpatch produces a warning
about updating the MAINTAINERS file. Remove the warning as we don't
have a MAINTAINERS file.

Signed-off-by: Stuart Haslam <[email protected]>
---
 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index bc13831..7c264e4 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1901,7 +1901,7 @@ sub process {
        my $in_header_lines = $file ? 0 : 1;
        my $in_commit_log = 0;          #Scanning lines before patch
        my $commit_log_long_line = 0;
-       my $reported_maintainer_file = 0;
+       my $reported_maintainer_file = 1; # No MAINTAINTERS so silence warning
        my $non_utf8_charset = 0;
 
        my $last_blank_line = 0;
-- 
2.1.1

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to