diff options
-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; |