qemu-patch-raspberry4/hw/pci
Markus Armbruster 84d18f065f Use error_is_set() only when necessary
error_is_set(&var) is the same as var != NULL, but it takes
whole-program analysis to figure that out.  Unnecessarily hard for
optimizers, static checkers, and human readers.  Dumb it down to
obvious.

Gets rid of several dozen Coverity false positives.

Note that the obvious form is already used in many places.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-02-17 11:57:23 -05:00
..
Makefile.objs
msi.c exec: Make stl_*_phys input an AddressSpace 2014-02-11 22:57:18 +10:00
msix.c exec: Make stl_*_phys input an AddressSpace 2014-02-11 22:57:18 +10:00
pci-hotplug-old.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
pci-stub.c
pci.c hw/pci: switch to a generic hotplug handling for PCIDevice 2014-02-10 10:27:00 +02:00
pci_bridge.c
pci_host.c
pcie.c pci/pcie: convert PCIE hotplug to use hotplug-handler API 2014-02-10 10:27:00 +02:00
pcie_aer.c
pcie_host.c
pcie_port.c pci/pcie: convert PCIE hotplug to use hotplug-handler API 2014-02-10 10:27:00 +02:00
shpc.c pci/shpc: convert SHPC hotplug to use hotplug-handler API 2014-02-10 10:27:00 +02:00
slotid_cap.c