checkpatch: g_test_message does not need a trailing newline

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>
This commit is contained in:
Paolo Bonzini 2018-11-21 19:27:20 +01:00
parent d4c7e7e7e0
commit f1e35acf78

View File

@ -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);