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:
Simon Glass 2020-05-06 16:29:09 -06:00
parent 37f3bb53b7
commit 96daa41aab

View file

@ -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