From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLFZ8-0008OX-Ly for qemu-devel@nongnu.org; Tue, 10 Feb 2015 13:29:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLFZ3-0003Sh-NM for qemu-devel@nongnu.org; Tue, 10 Feb 2015 13:29:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLFZ3-0003SU-GX for qemu-devel@nongnu.org; Tue, 10 Feb 2015 13:29:37 -0500 Message-ID: <1423592974.22865.821.camel@redhat.com> From: Alex Williamson Date: Tue, 10 Feb 2015 11:29:34 -0700 In-Reply-To: <1423548849-21528-1-git-send-email-aik@ozlabs.ru> References: <1423548849-21528-1-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] vfio: Fix debug message compile error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-devel@nongnu.org On Tue, 2015-02-10 at 17:14 +1100, Alexey Kardashevskiy wrote: > This fixes a compiler error which occurs if DEBUG_VFIO is defined. > > Signed-off-by: Alexey Kardashevskiy > --- > hw/vfio/pci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c > index 29caabc..cfc087a 100644 > --- a/hw/vfio/pci.c > +++ b/hw/vfio/pci.c > @@ -517,7 +517,7 @@ static void vfio_msi_interrupt(void *opaque) > abort(); > } > > - trace_vfio_msi_interrupt(vbasedev->name, nr, msg.address, msg.data); > + trace_vfio_msi_interrupt(vdev->vbasedev.name, nr, msg.address, msg.data); > #endif > > if (vdev->interrupt == VFIO_INT_MSIX) { Applied, thanks! Alex