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 <s...@chromium.org> --- (no changes since v1) tools/patman/patchstream.py | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) Applied to u-boot-dm, thanks!