From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCpzN-00037c-M6 for qemu-devel@nongnu.org; Wed, 08 Jul 2015 10:06:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCpzJ-0006TX-KB for qemu-devel@nongnu.org; Wed, 08 Jul 2015 10:06:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCpzJ-0006T7-Fb for qemu-devel@nongnu.org; Wed, 08 Jul 2015 10:06:13 -0400 Date: Wed, 8 Jul 2015 17:06:09 +0300 From: "Michael S. Tsirkin" Message-ID: <20150708170556-mutt-send-email-mst@redhat.com> References: <1436275958-25174-1-git-send-email-paul.durrant@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436275958-25174-1-git-send-email-paul.durrant@citrix.com> Subject: Re: [Qemu-devel] [PATCH] Fix the compatibility typedef of ioservid_t to match the Xen headers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Durrant Cc: xen-devel@lists.xenproject.org, qemu-devel@nongnu.org, Stefano Stabellini On Tue, Jul 07, 2015 at 02:32:38PM +0100, Paul Durrant wrote: > There is a mismatch between the definition of ioservid_t in > xen_common.h and the definition in the Xen publix headers. This patch > corrects the definition in xen_common.h. > > Signed-off-by: Paul Durrant > Cc: Stefano Stabellini Tested-by: Michael S. Tsirkin > --- > include/hw/xen/xen_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/hw/xen/xen_common.h b/include/hw/xen/xen_common.h > index 38f29fb..ed5fd3e 100644 > --- a/include/hw/xen/xen_common.h > +++ b/include/hw/xen/xen_common.h > @@ -195,7 +195,7 @@ static inline int xen_get_vmport_regs_pfn(XenXC xc, domid_t dom, > > #define IOREQ_TYPE_PCI_CONFIG 2 > > -typedef uint32_t ioservid_t; > +typedef uint16_t ioservid_t; > > static inline void xen_map_memory_section(XenXC xc, domid_t dom, > ioservid_t ioservid, > -- > 1.7.10.4