mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
patman: Complain if a checkpatch line is not understood
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>
This commit is contained in:
parent
37f3bb53b7
commit
96daa41aab
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue