diff options
author | Joe Perches <joe@perches.com> | 2012-04-16 15:35:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-16 15:44:38 -0400 |
commit | c06a9ebdb7a4f4823d4225fe789d8c20a1d534eb (patch) | |
tree | 9909d3aac2349fd6636fd1fdd0d4480869978b5b /scripts | |
parent | e816b57a337ea3b755de72bec38c10c864f23015 (diff) |
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-x | scripts/checkpatch.pl | 6 |
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 { | |||
1869 | "No space is necessary after a cast\n" . $hereprev); | 1869 | "No space is necessary after a cast\n" . $hereprev); |
1870 | } | 1870 | } |
1871 | 1871 | ||
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 | |||
1878 | # check for spaces at the beginning of a line. | 1872 | # check for spaces at the beginning of a line. |
1879 | # Exceptions: | 1873 | # Exceptions: |
1880 | # 1) within comments | 1874 | # 1) within comments |