qemu-e2k/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
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
mfrom_table.c
misc_helper.c
mmu_helper.c target-ppc: Fix target_ulong vs. hwaddr format mismatches 2013-02-01 10:43:41 -06:00
STATUS
timebase_helper.c
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