diff options
author | Joe Perches <joe@perches.com> | 2015-09-09 18:37:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 16:29:01 -0400 |
commit | 7bd7e483c27d884c2f59e286e42623abba413f83 (patch) | |
tree | e064fd71e1d859e76a42be051e5b6e6d217e2540 /scripts/checkpatch.pl | |
parent | 86406b1cb7ac4fa5e7691eae5f2fb10c9af03dc3 (diff) |
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/checkpatch.pl')
-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 { | |||
2174 | } | 2174 | } |
2175 | 2175 | ||
2176 | if ($found_file) { | 2176 | if ($found_file) { |
2177 | if ($realfile =~ m@^(drivers/net/|net/)@) { | 2177 | if ($realfile =~ m@^(?:drivers/net/|net/|drivers/staging/)@) { |
2178 | $check = 1; | 2178 | $check = 1; |
2179 | } else { | 2179 | } else { |
2180 | $check = $check_orig; | 2180 | $check = $check_orig; |