qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] msi: Fix copy&paste mistake in msi_uninit
@ 2011-06-07 17:26 Jan Kiszka
  2011-06-08 18:53 ` Michael S. Tsirkin
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2011-06-07 17:26 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: qemu-devel

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 hw/msi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/msi.c b/hw/msi.c
index b087fe5..e8c5607 100644
--- 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_MSIX, 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");
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] msi: Fix copy&paste mistake in msi_uninit
  2011-06-07 17:26 [Qemu-devel] [PATCH] msi: Fix copy&paste mistake in msi_uninit Jan Kiszka
@ 2011-06-08 18:53 ` Michael S. Tsirkin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael S. Tsirkin @ 2011-06-08 18:53 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: qemu-devel

On Tue, Jun 07, 2011 at 07:26:20PM +0200, Jan Kiszka wrote:
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Applied, thanks!

> ---
>  hw/msi.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/hw/msi.c b/hw/msi.c
> index b087fe5..e8c5607 100644
> --- 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_MSIX, 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");
> -- 
> 1.7.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-08 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-07 17:26 [Qemu-devel] [PATCH] msi: Fix copy&paste mistake in msi_uninit Jan Kiszka
2011-06-08 18:53 ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).