]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Fix up checkpatch parsing to deal with 'CHECK' lines
authorSimon Glass <sjg@chromium.org>
Tue, 26 Mar 2013 13:09:39 +0000 (13:09 +0000)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Apr 2013 21:04:34 +0000 (14:04 -0700)
commitd29fe6e2d2cbcbfd1bfaaf886818d84edde0fc0d
tree55ea7b71a2d2044769cc1e473bd6594d16f7722c
parentfe2f8d9e2f1bc00f143a22191a1d7076667ff436
patman: Fix up checkpatch parsing to deal with 'CHECK' lines

checkpatch has a new type of warning, a 'CHECK'. At present patman fails
with these, which makes it less than useful.

Add support for checks, making it backwards compatible with the old
checkpatch.

At the same time, clean up formatting of the CheckPatches() output,
fix erroneous "internal error" if multiple patches have warnings and
be more robust to new types of problems.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
tools/patman/checkpatch.py
tools/patman/test.py