diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -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 6f2ce0cafe6f..4de3cc42fc50 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -228,9 +228,9 @@ if ($^V && $^V lt $minimum_perl_version) { | |||
| 228 | } | 228 | } |
| 229 | } | 229 | } |
| 230 | 230 | ||
| 231 | #if no filenames are given, push '-' to read patch from stdin | ||
| 231 | if ($#ARGV < 0) { | 232 | if ($#ARGV < 0) { |
| 232 | print "$P: no input files\n"; | 233 | push(@ARGV, '-'); |
| 233 | exit(1); | ||
| 234 | } | 234 | } |
| 235 | 235 | ||
| 236 | sub hash_save_array_words { | 236 | sub hash_save_array_words { |
