diff options
-rwxr-xr-x | scripts/checkpatch.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index e2cb1f4621b7..9185883f5885 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -2086,6 +2086,7 @@ sub process { | |||
2086 | if ($realfile =~ m@^(drivers/net/|net/)@ && | 2086 | if ($realfile =~ m@^(drivers/net/|net/)@ && |
2087 | $prevrawline =~ /^\+[ \t]*\/\*/ && #starting /* | 2087 | $prevrawline =~ /^\+[ \t]*\/\*/ && #starting /* |
2088 | $prevrawline !~ /\*\/[ \t]*$/ && #no trailing */ | 2088 | $prevrawline !~ /\*\/[ \t]*$/ && #no trailing */ |
2089 | $rawline =~ /^\+/ && #line is new | ||
2089 | $rawline !~ /^\+[ \t]*\*/) { #no leading * | 2090 | $rawline !~ /^\+[ \t]*\*/) { #no leading * |
2090 | WARN("NETWORKING_BLOCK_COMMENT_STYLE", | 2091 | WARN("NETWORKING_BLOCK_COMMENT_STYLE", |
2091 | "networking block comments start with * on subsequent lines\n" . $hereprev); | 2092 | "networking block comments start with * on subsequent lines\n" . $hereprev); |