]> git.proxmox.com Git - mirror_qemu.git/commitdiff
checkpatch: g_test_message does not need a trailing newline
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Nov 2018 18:27:20 +0000 (19:27 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Nov 2018 14:35:19 +0000 (15:35 +0100)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/checkpatch.pl

index 06ec14e7f79ef1cf3b01b4dbb4fc33c684a63c11..60f6f89a27f12c6d65c9bc1b8f0fc5bd9b87bdd7 100755 (executable)
@@ -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);