aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-07-22 10:40:46 +0200
committerMarkus Armbruster <armbru@redhat.com>2020-07-24 12:56:44 +0200
commitff5b5d5b6df5655946142820912b28f1a67efc94 (patch)
tree9269e9de39a462616afaa48a65c440e652c1dfc2 /target
parentcb3fa1e4c05a4ad2563b39cdb1146e617f3b5424 (diff)
error: Strip trailing '\n' from error string arguments (again)
Tracked down with scripts/coccinelle/err-bad-newline.cocci. Cc: Peter Xu <peterx@redhat.com> Cc: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200722084048.1726105-3-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'target')
-rw-r--r--target/ppc/mmu-hash64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/mmu-hash64.c b/target/ppc/mmu-hash64.c
index e5baabf0e1..c31d21e6a9 100644
--- a/target/ppc/mmu-hash64.c
+++ b/target/ppc/mmu-hash64.c
@@ -859,7 +859,7 @@ static int build_vrma_slbe(PowerPCCPU *cpu, ppc_slb_t *slb)
}
error_report("Bad page size encoding in LPCR[VRMASD]; LPCR=0x"
- TARGET_FMT_lx"\n", lpcr);
+ TARGET_FMT_lx, lpcr);
return -1;
}