From: Paolo Bonzini Date: Wed, 21 Nov 2018 18:27:20 +0000 (+0100) Subject: checkpatch: g_test_message does not need a trailing newline X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f1e35acf787d22ef98906a9a375a400e0df3d55f;p=qemu.git checkpatch: g_test_message does not need a trailing newline Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Signed-off-by: Paolo Bonzini --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 06ec14e7f7..60f6f89a27 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2752,7 +2752,8 @@ sub process { info_vreport| error_report| warn_report| - info_report}x; + info_report| + g_test_message}x; if ($rawline =~ /\b(?:$qemu_error_funcs)\s*\(.*\".*\\n/) { ERROR("Error messages should not contain newlines\n" . $herecurr);