aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-04-02 13:59:57 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2024-04-29 09:37:26 +0300
commite3812d109663b8fee28e9334bbc12f684355984e (patch)
treea013fe695fe6ca89154086d3dc8fb3adb824b292 /scripts
parent5b638f6e900efd1d5f5d0697af69a0e9eb2bfc72 (diff)
downloadqemu-e3812d109663b8fee28e9334bbc12f684355984e.zip
qemu-e3812d109663b8fee28e9334bbc12f684355984e.tar.gz
qemu-e3812d109663b8fee28e9334bbc12f684355984e.tar.bz2
scripts/checkpatch: Avoid author email mangled by qemu-*@nongnu.org
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> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 7026895..12e9028 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);
}