Commit c06a9ebd authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

checkpatch: revert --strict test for net/ and drivers/net block comment style

Revert the --strict test for the old preferred block
comment style in drivers/net and net/
Reported-by: default avatarIngo Molnar <mingo@kernel.org>
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e816b57a
...@@ -1869,12 +1869,6 @@ sub process { ...@@ -1869,12 +1869,6 @@ sub process {
"No space is necessary after a cast\n" . $hereprev); "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. # check for spaces at the beginning of a line.
# Exceptions: # Exceptions:
# 1) within comments # 1) within comments
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment