lkml.org 
[lkml]   [2018]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[-next fix PATCH] checkpatch: Fix missing close parenthesis
From
Date
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;
}

\
 
 \ /
  Last update: 2018-05-29 19:58    [W:0.024 / U:8.124 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site