mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-26 00:45:55 +00:00
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: Ingo Molnar <mingo@kernel.org> Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e816b57a33
commit
c06a9ebdb7
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue