xemu/target-ppc
Markus Armbruster 312fd5f290 error: Strip trailing '\n' from error string arguments (again)
Commit 6daf194d and be62a2eb got rid of a bunch, but they keep coming
back.  Tracked down with this Coccinelle semantic patch:

    @r@
	expression err, eno, cls, fmt;
	position p;
    @@
    (
	error_report(fmt, ...)@p
    |
	error_set(err, cls, fmt, ...)@p
    |
	error_set_errno(err, eno, cls, fmt, ...)@p
    |
	error_setg(err, fmt, ...)@p
    |
	error_setg_errno(err, eno, fmt, ...)@p
    )
    @script:python@
	fmt << r.fmt;
	p << r.p;
    @@
    if "\\n" in str(fmt):
	print "%s:%s:%s:%s" % (p[0].file, p[0].line, p[0].column, fmt)

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1360354939-10994-4-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-11 08:13:19 -06:00
..
cpu-qom.h target-ppc: Slim conversion of model definitions to QOM subclasses 2013-01-07 17:37:11 +01:00
cpu.h PPC: Unify dcbzl code path 2013-02-01 01:52:02 +01:00
excp_helper.c PPC: Bring EPR support closer to reality 2013-01-07 17:37:11 +01:00
fpu_helper.c ppc: Add missing break 2012-06-24 01:04:43 +02:00
helper_regs.h
helper.h PPC: Unify dcbzl code path 2013-02-01 01:52:02 +01:00
int_helper.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
kvm_ppc.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
kvm_ppc.h PPC: KVM: Add support for EPR with KVM 2013-01-18 19:06:57 +01:00
kvm.c kvm: Create kvm_arch_vcpu_id() function 2013-01-27 14:34:26 +01:00
machine.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
Makefile.objs target-ppc: Slim conversion of model definitions to QOM subclasses 2013-01-07 17:37:11 +01:00
mem_helper.c PPC: Unify dcbzl code path 2013-02-01 01:52:02 +01:00
mfrom_table_gen.c fix spelling in target sub directory 2011-12-02 10:50:57 +00:00
mfrom_table.c
misc_helper.c ppc: Move misc helpers from helper.c to misc_helper.c 2012-06-24 01:04:43 +02:00
mmu_helper.c target-ppc: Fix target_ulong vs. hwaddr format mismatches 2013-02-01 10:43:41 -06:00
STATUS Fix typos in comments (chek -> check) 2011-05-22 22:31:45 +01:00
timebase_helper.c ppc: Avoid AREG0 for timebase helpers 2012-06-24 01:04:43 +02:00
translate_init.c error: Strip trailing '\n' from error string arguments (again) 2013-02-11 08:13:19 -06:00
translate.c target-ppc: Fix build for PPC_DEBUG_DISAS 2013-02-01 01:52:03 +01:00