From: Simon Glass Date: Wed, 6 May 2020 22:29:09 +0000 (-0600) Subject: patman: Complain if a checkpatch line is not understood X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=96daa41aab97f87f1a7b2d8bf00ee546db2ca156;p=u-boot.git 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 --- diff --git a/tools/patman/checkpatch.py b/tools/patman/checkpatch.py index 5ae450d771..98c63af1dd 100644 --- a/tools/patman/checkpatch.py +++ b/tools/patman/checkpatch.py @@ -143,6 +143,8 @@ def CheckPatch(fname, verbose=False): elif subject_match: item['file'] = '' item['line'] = None + else: + print('bad line "%s", %d' % (line, len(line))) return result