[PATCH v3 14/29] patman: Move warning collection to a function

Simon Glass sjg at chromium.org
Wed Nov 4 00:03:04 CET 2020


Add a new function in PatchStream to collect the warnings generated while
parsing the stream. This will allow us to adjust the logic, such as
dealing with per-commit warnings.

Two of the warnings are in fact internal errors, so change them to raise
and exception.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 tools/patman/patchstream.py | 36 +++++++++++++++++++++++-------------
 1 file changed, 23 insertions(+), 13 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list