diff --git a/[refs] b/[refs] index a671ac327461..03c456c7c079 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 09ef87255da0e005dd0ab39ca25714208cf29cb3 +refs/heads/master: b998e001e6ce6540ea04a264debc50ae44d2db7a diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index dd11bbe01338..2039acdf5122 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -558,6 +558,9 @@ sub ctx_statement_block { $type = ($level != 0)? '{' : ''; if ($level == 0) { + if (substr($blk, $off + 1, 1) eq ';') { + $off++; + } last; } }