summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-04-16 23:35:11 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-04-16 23:44:38 +0400
commitc06a9ebdb7a4f4823d4225fe789d8c20a1d534eb (patch)
tree9909d3aac2349fd6636fd1fdd0d4480869978b5b /scripts/checkpatch.pl
parente816b57a337ea3b755de72bec38c10c864f23015 (diff)
downloadlinux-c06a9ebdb7a4f4823d4225fe789d8c20a1d534eb.tar.xz
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>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index de639eeeed50..faea0ec612bf 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -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