qemu/hw/pci
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
..
Makefile.objs build: remove extra-obj-y 2013-01-26 13:15:37 +00:00
msi.c
msi.h
msix.c msix: add api to access msix message 2013-01-07 19:42:22 +02:00
msix.h msix: add api to access msix message 2013-01-07 19:42:22 +02:00
pci_bridge.c
pci_bridge.h
pci_bus.h
pci_host.c
pci_host.h
pci_ids.h Add TEWS TPCI200 IndustryPack emulation 2013-01-14 13:26:12 -06:00
pci_regs.h
pci-hotplug.c
pci-stub.c
pci.c error: Strip trailing '\n' from error string arguments (again) 2013-02-11 08:13:19 -06:00
pci.h pci: use constants for devices under the 1B36 device ID, document them 2013-01-09 12:10:28 +02:00
pcie_aer.c
pcie_aer.h
pcie_host.c
pcie_host.h
pcie_port.c
pcie_port.h
pcie_regs.h
pcie.c pcie: Fix bug in pcie_ext_cap_set_next 2012-12-26 11:49:28 +02:00
pcie.h
shpc.c
shpc.h
slotid_cap.c
slotid_cap.h