Whamcloud - gitweb
LU-6142 build: match lnet comment style to linux net layer
[fs/lustre-release.git] / contrib / scripts / checkpatch.pl
index 15b9dd6..763c205 100755 (executable)
@@ -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) {