]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: report the right line # when using --emacs and --file
authorJoe Perches <joe@perches.com>
Wed, 9 Sep 2015 22:37:39 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commit4af52e5169e70058251e531457dce24c08ccb517
treea4893fb6092cc84ca97eebb4ef12249b22ab37d1
parent89d1edf24cf99aedf4b0fc0bfdf2cbcc5741b4ae
checkpatch: report the right line # when using --emacs and --file

commit 3da083b231b0 ("checkpatch: add --showfile to allow input via pipe
to show filenames") broke the --emacs with --file option.

Fix it.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl