mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 16:01:14 +07: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
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user