scripts/checkpatch: Improve the check for authors mangled by the mailing list
commit7b59d10e23b7cf1e9fbc2c595852e40317aef1e6
authorThomas Huth <thuth@redhat.com>
Tue, 16 Feb 2021 07:15:12 +0000 (16 08:15 +0100)
committerThomas Huth <thuth@redhat.com>
Fri, 19 Feb 2021 05:29:05 +0000 (19 06:29 +0100)
tree5e4499823fd1ca0ac477ccc58a21978e4906c11f
parentc071f19b0dfaedd87d7f4ef18d6dc3e1e298674d
scripts/checkpatch: Improve the check for authors mangled by the mailing list

There were recently some patches on the list which had their "From:"
line mangled like this:

 From: qemu_oss--- via <qemu-devel@nongnu.org>

Since our test in the checkpatch.pl script did not trigger here, the
patches finally also ended up in a pull request, with the wrong author
set. So let's improve the regular expression to also complain on
these new patterns, too.

Message-Id: <20210216071512.1199827-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
scripts/checkpatch.pl