qemu-e2k/target-i386
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
..
arch_dump.c
arch_memory_mapping.c
cc_helper_template.h
cc_helper.c
cpu-qom.h
cpu.c error: Strip trailing '\n' from error string arguments (again) 2013-02-11 08:13:19 -06:00
cpu.h target-i386: Pass X86CPU to cpu_x86_set_a20() 2013-02-01 01:35:43 +01:00
excp_helper.c
fpu_helper.c
helper.c cpu: do not use object_delete 2013-02-01 15:53:11 -06:00
helper.h
hyperv.c
hyperv.h
int_helper.c
ioport-user.c
kvm_i386.h
kvm-stub.c
kvm.c Merge remote-tracking branch 'qemu-kvm/uq/master' into staging 2013-01-29 16:57:41 -06:00
machine.c target-i386: Define DR7 bit field constants 2013-01-15 09:14:35 +01:00
Makefile.objs
mem_helper.c
misc_helper.c target-i386: Use switch in check_hw_breakpoints() 2013-01-15 09:23:50 +01:00
ops_sse_header.h
ops_sse.h
seg_helper.c target-i386: Introduce hw_{local,global}_breakpoint_enabled() 2013-01-15 09:14:48 +01:00
shift_helper_template.h
smm_helper.c
svm_helper.c
svm.h
TODO
topology.h target-i386: Topology & APIC ID utility functions 2013-01-27 14:34:27 +01:00
translate.c