diff options
Diffstat (limited to 'contrib/scripts/checkpatch.pl')
-rwxr-xr-x | contrib/scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/scripts/checkpatch.pl b/contrib/scripts/checkpatch.pl index 289dad82e..d6b3c4451 100755 --- a/contrib/scripts/checkpatch.pl +++ b/contrib/scripts/checkpatch.pl @@ -93,7 +93,7 @@ if ($is_patch) { new_file ($2); next; } - /^([ \+])(.*)/ or next; + s/^([ \+])(.*)/$2/ or next; $line_no++; $check_line = $1 eq '+'; $line = $2; |