qemu-e2k/hw/pci
Markus Armbruster ca6b6e1e68 Don't check qobject_type() before qobject_to_qdict()
qobject_to_qdict(obj) returns NULL when obj isn't a QDict.  Check
that instead of qobject_type(obj) == QTYPE_QDICT.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1487363905-9480-8-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2017-02-22 19:52:01 +01:00
..
Makefile.objs pci-hotplug-old: Has been dead for five major releases, bury 2015-03-01 12:37:54 +01:00
msi.c pci: Convert msi_init() to Error and fix callers to check it 2016-07-05 13:14:41 +03:00
msix.c pci: Convert msix_init() to Error and fix callers 2017-02-01 03:37:18 +02:00
pci-stub.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
pci.c pci: mark ROMs read-only 2017-02-01 03:37:17 +02:00
pci_bridge.c Fix some typos found by codespell 2016-05-18 15:04:27 +03:00
pci_host.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
pcie.c pcie: simplify pcie_add_capability() 2017-02-17 21:52:31 +02:00
pcie_aer.c Don't check qobject_type() before qobject_to_qdict() 2017-02-22 19:52:01 +01:00
pcie_host.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
pcie_port.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
shpc.c migration: extend VMStateInfo 2017-01-24 17:54:47 +00:00
slotid_cap.c pci: Clean up includes 2016-01-29 15:07:24 +00:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00