Skip to content

Commit c06a9eb

Browse files
JoePerchestorvalds
authored andcommitted
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 <[email protected]> Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent e816b57 commit c06a9eb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

scripts/checkpatch.pl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1869,12 +1869,6 @@ sub process {
18691869
"No space is necessary after a cast\n" . $hereprev);
18701870
}
18711871

1872-
if ($rawline =~ /^\+[ \t]*\/\*[ \t]*$/ &&
1873-
$prevrawline =~ /^\+[ \t]*$/) {
1874-
CHK("BLOCK_COMMENT_STYLE",
1875-
"Don't begin block comments with only a /* line, use /* comment...\n" . $hereprev);
1876-
}
1877-
18781872
# check for spaces at the beginning of a line.
18791873
# Exceptions:
18801874
# 1) within comments

0 commit comments

Comments
 (0)