diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 7c17e95bf36ff1f9d9ffb298c6622aed9a736ea7..a305aa52b8b16e0285f2b3c93228ca820609ada1 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1109,7 +1109,7 @@ sub process { # is the start of a diff block and this line starts # ' *' then it is very likely a comment. if (!defined $edge && - $rawlines[$linenr] =~ m@^.\s* \*(?:\s|$)@) + $rawlines[$linenr] =~ m@^.\s*(?:\*\*+| \*)(?:\s|$)@) { $in_comment = 1; }