Skip to content

Commit

Permalink
checkpatch: revert --strict test for net/ and drivers/net block comme…
Browse files Browse the repository at this point in the history
…nt style

Revert the --strict test for the old preferred block
comment style in drivers/net and net/

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Joe Perches authored and Linus Torvalds committed Apr 16, 2012
1 parent e816b57 commit c06a9eb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1869,12 +1869,6 @@ sub process {
"No space is necessary after a cast\n" . $hereprev);
}

if ($rawline =~ /^\+[ \t]*\/\*[ \t]*$/ &&
$prevrawline =~ /^\+[ \t]*$/) {
CHK("BLOCK_COMMENT_STYLE",
"Don't begin block comments with only a /* line, use /* comment...\n" . $hereprev);
}

# check for spaces at the beginning of a line.
# Exceptions:
# 1) within comments
Expand Down

0 comments on commit c06a9eb

Please sign in to comment.