aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 2f61b5cc17e1..a3922d0e4d25 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1891,8 +1891,8 @@ sub process {
1891 } 1891 }
1892 1892
1893 if ($realfile =~ m@^(drivers/net/|net/)@ && 1893 if ($realfile =~ m@^(drivers/net/|net/)@ &&
1894 $rawline =~ /^\+[ \t]*\/\*[ \t]*$/ && 1894 $prevrawline =~ /^\+[ \t]*\/\*[ \t]*$/ &&
1895 $prevrawline =~ /^\+[ \t]*$/) { 1895 $rawline =~ /^\+[ \t]*\*/) {
1896 WARN("NETWORKING_BLOCK_COMMENT_STYLE", 1896 WARN("NETWORKING_BLOCK_COMMENT_STYLE",
1897 "networking block comments don't use an empty /* line, use /* Comment...\n" . $hereprev); 1897 "networking block comments don't use an empty /* line, use /* Comment...\n" . $hereprev);
1898 } 1898 }