From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUNsj-0005o4-Lt for qemu-devel@nongnu.org; Wed, 08 Jun 2011 14:53:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUNsh-0005ia-Gb for qemu-devel@nongnu.org; Wed, 08 Jun 2011 14:53:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUNsh-0005iI-0a for qemu-devel@nongnu.org; Wed, 08 Jun 2011 14:53:31 -0400 Date: Wed, 8 Jun 2011 21:53:47 +0300 From: "Michael S. Tsirkin" Message-ID: <20110608185308.GA30805@redhat.com> References: <4DEE5F3C.6030104@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DEE5F3C.6030104@siemens.com> Subject: Re: [Qemu-devel] [PATCH] msi: Fix copy&paste mistake in msi_uninit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: qemu-devel On Tue, Jun 07, 2011 at 07:26:20PM +0200, Jan Kiszka wrote: > Signed-off-by: Jan Kiszka 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