]> git.ipfire.org Git - people/arne_f/kernel.git/blobdiff - scripts/checkpatch.pl
nvme-fc: cancel async events before freeing event struct
[people/arne_f/kernel.git] / scripts / checkpatch.pl
index 8b80bac055e490219f97d913f33bce165960fe92..d702bdf19eb10607e9043e565eb33536250c5fd3 100755 (executable)
@@ -2428,8 +2428,8 @@ sub process {
 
 # Check if the commit log has what seems like a diff which can confuse patch
                if ($in_commit_log && !$commit_log_has_diff &&
-                   (($line =~ m@^\s+diff\b.*a/[\w/]+@ &&
-                     $line =~ m@^\s+diff\b.*a/([\w/]+)\s+b/$1\b@) ||
+                   (($line =~ m@^\s+diff\b.*a/([\w/]+)@ &&
+                     $line =~ m@^\s+diff\b.*a/[\w/]+\s+b/$1\b@) ||
                     $line =~ m@^\s*(?:\-\-\-\s+a/|\+\+\+\s+b/)@ ||
                     $line =~ m/^\s*\@\@ \-\d+,\d+ \+\d+,\d+ \@\@/)) {
                        ERROR("DIFF_IN_COMMIT_MSG",