Skip to contentSkip to conversation

checkpatch: Fix missing close parenthesis

PATCH New Joe Perches 1 participant 1 message May 29, 2018 Checkpatch

lore
Share & tools
lore

Joe Perches

author maintainer
#0 lore raw

PATCH 1/1 checkpatch: Fix missing close parenthesis

Latest -next has a missing close parenthesis in the patch that adds better recognition for rename only patches.

Add it.

---

Dunno how that happened.

Maybe this could be rolled into the appropriate patch that added this change.

 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/checkpatch.pl +1 -1
index f1fecd8aa4d7..3f936b046213 100755
@@ -2379,7 +2379,7 @@ sub process {
 		if (!$in_commit_log &&
 		    ($line =~ /^ mode change [0-7]+ => [0-7]+ \S+\s*$/ ||
 		    ($line =~ /^rename (?:from|to) \S+\s*$/ ||
-		     $line =~ /^diff --git a\/[\w\/\.\_\-]+ b\/\S+\s*$/)) {
+		     $line =~ /^diff --git a\/[\w\/\.\_\-]+ b\/\S+\s*$/))) {
 			$is_patch = 1;
 		}