Commit 45107ff6 authored by Allen Hubbe's avatar Allen Hubbe Committed by Linus Torvalds

checkpatch: if no filenames then read stdin

If no filenames are given, then read the patch from stdin.

Link: default avatarAllen Hubbe <>
Acked-by: default avatarJoe Perches <>
Cc: Andy Whitcroft <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent ed43c4e5
......@@ -228,9 +228,9 @@ if ($^V && $^V lt $minimum_perl_version) {
#if no filenames are given, push '-' to read patch from stdin
if ($#ARGV < 0) {
print "$P: no input files\n";
push(@ARGV, '-');
sub hash_save_array_words {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment