]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Parse checkpatch by message instead of by line
authorEvan Benn <evanbenn@chromium.org>
Thu, 1 Apr 2021 02:49:30 +0000 (13:49 +1100)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Apr 2021 10:23:39 +0000 (03:23 -0700)
commitec6db6c297afa8ef9f72c73c067d98e764aeae25
treef9bff894711a144865fce203221ce91e62cb7ec6
parent2959a8e3a5573dfcfde7e03ee5a7fefbeff5436c
patman: Parse checkpatch by message instead of by line

Parse each empty-line-delimited message separately. This saves having to
deal with all the different line content styles, we only care about the
header ERROR | WARNING | NOTE...

Also make checkpatch print line information for a uboot specific
warning.

Signed-off-by: Evan Benn <evanbenn@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/checkpatch.pl
tools/patman/checkpatch.py