diff options
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 5382f7287397..18646f076a84 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -335,7 +335,7 @@ sub sanitise_line { | |||
335 | $off++; | 335 | $off++; |
336 | next; | 336 | next; |
337 | } | 337 | } |
338 | if (substr($line, $off, 2) eq '*/') { | 338 | if ($sanitise_quote eq '*/' && substr($line, $off, 2) eq '*/') { |
339 | $sanitise_quote = ''; | 339 | $sanitise_quote = ''; |
340 | substr($res, $off, 2, "$;$;"); | 340 | substr($res, $off, 2, "$;$;"); |
341 | $off++; | 341 | $off++; |