[PATCH] patman: Detect unexpected END

Simon Glass sjg at chromium.org
Fri Jul 3 05:50:34 CEST 2020


On Thu, 2 Jul 2020 at 11:08, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> Detect unexpected 'END' line when a section is not detected.
>
> This patch detect issue when tag name for section start is misspelled,
> for example 'Commit-note:' for 'Commit-notes:'
>
>   Commit-note:
>   ....
>   END
>
> Then 'Commit-note:' is removed silently by re_remove = "Commit-\w*:"
> but 'END' is kept in commit message.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
>  tools/patman/patchstream.py | 4 ++++
>  1 file changed, 4 insertions(+)

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


More information about the U-Boot mailing list