]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
patman: Handle checkpatch.pl not providing file/line info
authorSimon Glass <sjg@chromium.org>
Thu, 27 Sep 2012 15:33:46 +0000 (15:33 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:04 +0000 (11:54 -0700)
commitafb9bf55d093287458f4c2d3d2e42d90a7e91c95
tree7041b343fddb94c93e624ddb818ed8cf8c65a82a
parentef0e9de82be6bb14e1a7c5c28f976c4fced12ed2
patman: Handle checkpatch.pl not providing file/line info

Sometimes we don't get a valid filename or line number from checkpatch.pl,
for example if the patch is in a bad format. Deal with this by using a
default value, rather than a stack trace.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/checkpatch.py