patman: Handle checkpatch output with notes and code
authorSimon Glass <sjg@chromium.org>
Wed, 6 May 2020 22:29:07 +0000 (16:29 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Jun 2020 02:52:11 +0000 (20:52 -0600)
commit666eb15e923e93872dbca1b834ce123a327fc9b3
treed2e2fbf65caeeafad7b82495db5b8c2a3f948588
parent7175b085e1213c99fbc237483b33cd52ff00f891
patman: Handle checkpatch output with notes and code

If checkpatch is configured to output code we should ignore it. Similarly,
notes should be ignored.

Update the logic to handle these situations.

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