diff options
-rwxr-xr-x | scripts/checkpatch.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 1700720166d1..3037e8c2258c 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -2343,7 +2343,7 @@ sub process { | |||
2343 | } | 2343 | } |
2344 | 2344 | ||
2345 | # check we are in a valid source file if not then ignore this hunk | 2345 | # check we are in a valid source file if not then ignore this hunk |
2346 | next if ($realfile !~ /\.(h|c|s|S|pl|sh)$/); | 2346 | next if ($realfile !~ /\.(h|c|s|S|pl|sh|dtsi|dts)$/); |
2347 | 2347 | ||
2348 | #line length limit | 2348 | #line length limit |
2349 | if ($line =~ /^\+/ && $prevrawline !~ /\/\*\*/ && | 2349 | if ($line =~ /^\+/ && $prevrawline !~ /\/\*\*/ && |
@@ -2404,7 +2404,7 @@ sub process { | |||
2404 | } | 2404 | } |
2405 | 2405 | ||
2406 | # check we are in a valid source file C or perl if not then ignore this hunk | 2406 | # check we are in a valid source file C or perl if not then ignore this hunk |
2407 | next if ($realfile !~ /\.(h|c|pl)$/); | 2407 | next if ($realfile !~ /\.(h|c|pl|dtsi|dts)$/); |
2408 | 2408 | ||
2409 | # at the beginning of a line any tabs must come first and anything | 2409 | # at the beginning of a line any tabs must come first and anything |
2410 | # more than 8 must use tabs. | 2410 | # more than 8 must use tabs. |