mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
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: Joe Perches <joe@perches.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
86406b1cb7
commit
7bd7e483c2
@ -2174,7 +2174,7 @@ sub process {
|
||||
}
|
||||
|
||||
if ($found_file) {
|
||||
if ($realfile =~ m@^(drivers/net/|net/)@) {
|
||||
if ($realfile =~ m@^(?:drivers/net/|net/|drivers/staging/)@) {
|
||||
$check = 1;
|
||||
} else {
|
||||
$check = $check_orig;
|
||||
|
Loading…
Reference in New Issue
Block a user