projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f3bb5
)
patman: Complain if a checkpatch line is not understood
author
Simon Glass
<sjg@chromium.org>
Wed, 6 May 2020 22:29:09 +0000
(16:29 -0600)
committer
Simon Glass
<sjg@chromium.org>
Fri, 12 Jun 2020 02:52:11 +0000
(20:52 -0600)
Rather than suffering in silence, output a warning if something about the
checkpatch output cannot be understood.
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/checkpatch.py
patch
|
blob
|
history
diff --git
a/tools/patman/checkpatch.py
b/tools/patman/checkpatch.py
index 5ae450d771ba4c832786d51e28b307204b48f359..98c63af1dd61d4df5d47897ac9f3e0d97f0d0b74 100644
(file)
--- a/
tools/patman/checkpatch.py
+++ b/
tools/patman/checkpatch.py
@@
-143,6
+143,8
@@
def CheckPatch(fname, verbose=False):
elif subject_match:
item['file'] = '<patch subject>'
item['line'] = None
+ else:
+ print('bad line "%s", %d' % (line, len(line)))
return result