Commit f5177798d8 ("scripts: report on author emails
that are mangled by the mailing list") added a check
for qemu-devel@ list, extend the regexp to cover more
such qemu-trivial@, qemu-block@ and qemu-ppc@.

Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 7026895074..12e9028b10 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1573,7 +1573,7 @@ sub process {
                        $is_patch = 1;
                }
 
-               if ($line =~ /^(Author|From): .* via 
.*<qemu-devel\@nongnu.org>/) {
+               if ($line =~ /^(Author|From): .* via 
.*<qemu-\w+\@nongnu\.org>/) {
                    ERROR("Author email address is mangled by the mailing 
list\n" . $herecurr);
                }
 
-- 
2.41.0


Reply via email to