diff options
author | Joe Perches <joe@perches.com> | 2016-08-10 17:45:11 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-08-10 19:42:00 +0200 |
commit | aec742e8e1cf05114530bdef8051238b6dbb4052 (patch) | |
tree | 558f9c961b03ec47153adac4737c351c2373b48a /sound/mips | |
parent | Revert "printk: create pr_<level> functions" (diff) | |
download | linux-aec742e8e1cf05114530bdef8051238b6dbb4052.tar.xz linux-aec742e8e1cf05114530bdef8051238b6dbb4052.zip |
get_maintainer: Don't check if STDIN exists in a VCS repository
If get_maintainer is not given any filename arguments on the command line,
the standard input is read for a patch.
But checking if a VCS has a file named &STDIN is not a good idea and fails.
Verify the nominal input file is not &STDIN before checking the VCS.
Fixes: 4cad35a7ca69 ("get_maintainer.pl: reduce need for command-line option -f")
Reported-by: Christopher Covington <cov@codeaurora.org>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions