From a5d479206be5f802c52e8182abaeceb66a077976 Mon Sep 17 00:00:00 2001 From: Andy Whitcroft Date: Tue, 6 Jan 2009 14:41:17 -0800 Subject: [PATCH] --- yaml --- r: 126301 b: refs/heads/master c: 83242e0c239aaa33e757584605f788ac1eca2f0f h: refs/heads/master i: 126299: 2852a7f2d89b9199d5769fa1106cb1550169f6ab v: v3 --- [refs] | 2 +- trunk/scripts/checkpatch.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2bab92c67b83..d39d2c2066f9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 721c1cb60e0546d2e71b9aa50426c94e69c6521a +refs/heads/master: 83242e0c239aaa33e757584605f788ac1eca2f0f diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index 7c17e95bf36f..a305aa52b8b1 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/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; }