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
@ -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…
Reference in New Issue
Block a user