diff --git a/[refs] b/[refs] index 160ac1f5a825..f744b0a7aca9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dea33496ddc2bf1a50e9def87b4ef14709d8cb6d +refs/heads/master: 81bc0e020232a1e1e7010376382bb59ca82927ac diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index 5382f7287397..18646f076a84 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -335,7 +335,7 @@ sub sanitise_line { $off++; next; } - if (substr($line, $off, 2) eq '*/') { + if ($sanitise_quote eq '*/' && substr($line, $off, 2) eq '*/') { $sanitise_quote = ''; substr($res, $off, 2, "$;$;"); $off++;