linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [-next fix PATCH] checkpatch: Fix missing close parenthesis
@ 2018-05-29 17:56 Joe Perches
  0 siblings, 0 replies; only message in thread
From: Joe Perches @ 2018-05-29 17:56 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML

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

Add it.

Signed-off-by: Joe Perches <joe@perches.com>
---

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(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index f1fecd8aa4d7..3f936b046213 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -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;
 		}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-29 17:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-29 17:56 [-next fix PATCH] checkpatch: Fix missing close parenthesis Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).