Commit 7bd7e483 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

checkpatch: make --strict the default for drivers/staging files and patches

Making --strict the default for staging may help some people submit
patches without obvious defects.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 86406b1c
...@@ -2174,7 +2174,7 @@ sub process { ...@@ -2174,7 +2174,7 @@ sub process {
} }
if ($found_file) { if ($found_file) {
if ($realfile =~ m@^(drivers/net/|net/)@) { if ($realfile =~ m@^(?:drivers/net/|net/|drivers/staging/)@) {
$check = 1; $check = 1;
} else { } else {
$check = $check_orig; $check = $check_orig;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment