projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3674c5
)
msi: Fix copy&paste mistake in msi_uninit
author
Jan Kiszka
<jan.kiszka@siemens.com>
Tue, 7 Jun 2011 17:26:20 +0000
(19:26 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Sun, 12 Jun 2011 07:33:38 +0000
(10:33 +0300)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/msi.c
patch
|
blob
|
history
diff --git
a/hw/msi.c
b/hw/msi.c
index
b0795bd
..
941b339
100644
(file)
--- a/
hw/msi.c
+++ b/
hw/msi.c
@@
-172,7
+172,7
@@
void msi_uninit(struct PCIDevice *dev)
}
flags = pci_get_word(dev->config + msi_flags_off(dev));
cap_size = msi_cap_sizeof(flags);
- pci_del_capability(dev, PCI_CAP_ID_MSI
X
, cap_size);
+ pci_del_capability(dev, PCI_CAP_ID_MSI, cap_size);
dev->cap_present &= ~QEMU_PCI_CAP_MSI;
MSI_DEV_PRINTF(dev, "uninit\n");