[PATCH] checkpatch: Report the right line # when using --emacs and --file

2015-07-23 Thread Joe Perches
commit 34d8815f9512 ("checkpatch: add --showfile to allow input via pipe to show filenames") broke the --emacs with --file option. Fix it. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl

[PATCH] checkpatch: Report the right line # when using --emacs and --file

2015-07-23 Thread Joe Perches
commit 34d8815f9512 (checkpatch: add --showfile to allow input via pipe to show filenames) broke the --emacs with --file option. Fix it. Signed-off-by: Joe Perches j...@perches.com --- scripts/checkpatch.pl | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git