patman: Support emacs mode with checkpatch
authorSimon Glass <sjg@chromium.org>
Wed, 6 May 2020 22:29:05 +0000 (16:29 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Jun 2020 02:52:10 +0000 (20:52 -0600)
commit7d5b5e8965b3f0bdf91665cf654b9eaeb9b30e52
treeea8307bebdc559efc314f88209623b911d5ee76b
parent870bd567994b4455c9f68c3bc30fea6499fe5f54
patman: Support emacs mode with checkpatch

If checkpatch is run in 'emacs' mode it shows the filename at the
start of each line. Add support for this so that the warnings and errors
are correctly detected.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/checkpatch.py