diff options
author | Joe Perches <joe@perches.com> | 2015-09-09 15:37:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 13:29:01 -0700 |
commit | 7bd7e483c27d884c2f59e286e42623abba413f83 (patch) | |
tree | e064fd71e1d859e76a42be051e5b6e6d217e2540 /scripts | |
parent | 86406b1cb7ac4fa5e7691eae5f2fb10c9af03dc3 (diff) | |
download | talos-obmc-linux-7bd7e483c27d884c2f59e286e42623abba413f83.tar.gz talos-obmc-linux-7bd7e483c27d884c2f59e286e42623abba413f83.zip |
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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 7f309f0789a0..41ecae81de99 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -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; |