diff options
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 826cdbac0114..7c17e95bf36f 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -1097,8 +1097,8 @@ sub process { | |||
1097 | $rawlines[$ln - 1] =~ /^-/); | 1097 | $rawlines[$ln - 1] =~ /^-/); |
1098 | $cnt--; | 1098 | $cnt--; |
1099 | #print "RAW<$rawlines[$ln - 1]>\n"; | 1099 | #print "RAW<$rawlines[$ln - 1]>\n"; |
1100 | ($edge) = (defined $rawlines[$ln - 1] && | 1100 | last if (!defined $rawlines[$ln - 1]); |
1101 | $rawlines[$ln - 1] =~ m@(/\*|\*/)@); | 1101 | ($edge) = ($rawlines[$ln - 1] =~ m@(/\*|\*/)@); |
1102 | last if (defined $edge); | 1102 | last if (defined $edge); |
1103 | } | 1103 | } |
1104 | if (defined $edge && $edge eq '*/') { | 1104 | if (defined $edge && $edge eq '*/') { |