]> 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)
commitb8f6015aa81527784c270d65e50f2c3943c3f9ec
treea4893fb6092cc84ca97eebb4ef12249b22ab37d1
parentc4ba80b11a2ab566652f63bda30765d346b1b6ed
checkpatch: report the right line # when using --emacs and --file

commit eaf9f45d2f65 ("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