X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=contrib%2Fscripts%2Fcheckpatch.pl;h=763c20573b3ba424d5ecaebf4058ebfef2094c0e;hb=52d7cb5913c1e653a89d3a4de5f39c0e596dd28c;hp=15b9dd61109d7ed713350ed1137dbcea21b48902;hpb=4751e4a951975e7fa5fa8de893224f9cc03f4165;p=fs%2Flustre-release.git diff --git a/contrib/scripts/checkpatch.pl b/contrib/scripts/checkpatch.pl index 15b9dd6..763c205 100755 --- a/contrib/scripts/checkpatch.pl +++ b/contrib/scripts/checkpatch.pl @@ -3042,7 +3042,7 @@ sub process { # Block comment styles # Networking with an initial /* - if ($realfile =~ m@^(drivers/net/|net/)@ && + if ($realfile =~ m@^(drivers/net/|net/|lnet)@ && $prevrawline =~ /^\+[ \t]*\/\*[ \t]*$/ && $rawline =~ /^\+[ \t]*\*/ && $realline > 2) {