qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 1/2] scripts/checkpatch: Avoid author email mangled by qemu-*@


From: Philippe Mathieu-Daudé
Subject: [PATCH v2 1/2] scripts/checkpatch: Avoid author email mangled by qemu-*@nongnu.org
Date: Tue, 2 Apr 2024 13:59:57 +0200

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é <philmd@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

[Prev in Thread] Current Thread [Next in Thread]