[Sound-open-firmware] [PATCH] scripts: checkpatch: dont complain about missing MAINTAINERS

Liam Girdwood liam.r.girdwood at linux.intel.com
Wed Apr 4 16:54:49 CEST 2018


File not used by SOF.

Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
 scripts/checkpatch.pl | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 31031f10..3fb44787 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2639,18 +2639,6 @@ sub process {
 			}
 		}
 
-# Check for added, moved or deleted files
-		if (!$reported_maintainer_file && !$in_commit_log &&
-		    ($line =~ /^(?:new|deleted) file mode\s*\d+\s*$/ ||
-		     $line =~ /^rename (?:from|to) [\w\/\.\-]+\s*$/ ||
-		     ($line =~ /\{\s*([\w\/\.\-]*)\s*\=\>\s*([\w\/\.\-]*)\s*\}/ &&
-		      (defined($1) || defined($2))))) {
-			$is_patch = 1;
-			$reported_maintainer_file = 1;
-			WARN("FILE_PATH_CHANGES",
-			     "added, moved or deleted file(s), does MAINTAINERS need updating?\n" . $herecurr);
-		}
-
 # Check for wrappage within a valid hunk of the file
 		if ($realcnt != 0 && $line !~ m{^(?:\+|-| |\\ No newline|$)}) {
 			ERROR("CORRUPTED_PATCH",
-- 
2.14.1



More information about the Sound-open-firmware mailing list