summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-04-16 19:35:11 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-04-16 19:44:38 (GMT)
commitc06a9ebdb7a4f4823d4225fe789d8c20a1d534eb (patch)
tree9909d3aac2349fd6636fd1fdd0d4480869978b5b /scripts
parente816b57a337ea3b755de72bec38c10c864f23015 (diff)
downloadlinux-3.10-c06a9ebdb7a4f4823d4225fe789d8c20a1d534eb.zip
linux-3.10-c06a9ebdb7a4f4823d4225fe789d8c20a1d534eb.tar.gz
linux-3.10-c06a9ebdb7a4f4823d4225fe789d8c20a1d534eb.tar.bz2
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')
-rwxr-xr-xscripts/checkpatch.pl6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index de639ee..faea0ec 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