summary refs log tree commit diff stats
path: root/hw/pci-bridge/pci_expander_bridge.c
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel@redhat.com>2016-07-17 19:53:08 +0300
committerMichael S. Tsirkin <mst@redhat.com>2016-07-29 00:07:09 +0300
commit2c533c5479f0f712578422529b20651f01adb0f4 (patch)
tree7582b33a6a51ee72d03c724179384795948d10f4 /hw/pci-bridge/pci_expander_bridge.c
parent6b4495401bdf442457b713b7e3994b465c55af35 (diff)
downloadfocaccia-qemu-2c533c5479f0f712578422529b20651f01adb0f4.tar.gz
focaccia-qemu-2c533c5479f0f712578422529b20651f01adb0f4.zip
hw/pcie-root-port: Fix PCIe root port initialization
Specify the root port interrupt pin as part of the init
process for cases when msi/msix are not enabled.

Fixes "hw/pci/pci.c:196:23: runtime error: shift exponent -1 is negative"
warning from clang's sanitizer.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci-bridge/pci_expander_bridge.c')
0 files changed, 0 insertions, 0 deletions