From: Paul Durrant Subject: [PATCH] Fix the compatibility typedef of ioservid_t to match the Xen headers Date: Tue, 7 Jul 2015 14:32:38 +0100 Message-ID: <1436275958-25174-1-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZCSzQ-0006uJ-8y for xen-devel@lists.xenproject.org; Tue, 07 Jul 2015 13:32:48 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: qemu-devel@nongnu.org, xen-devel@lists.xenproject.org, "Michael S . Tsirkin" Cc: Paul Durrant , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 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 --- 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