From: Ian Campbell Subject: Re: [PATCH v4 4/6] xen: introduce XEN_GUEST_HANDLE_PARAM Date: Wed, 3 Oct 2012 14:35:23 +0100 Message-ID: <1349271323.650.148.camel@zakaz.uk.xensource.com> References: <1345633688-31684-4-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1345633688-31684-4-git-send-email-stefano.stabellini@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , "Tim (Xen.org)" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-08-22 at 12:08 +0100, Stefano Stabellini wrote: > +#define set_xen_guest_handle_raw(hnd, val) \ > + do { \ > + typeof(&(hnd)) t = &(hnd); \ > + _t->q = 0; \ > + _t->p = val; \ You have a mix of t and _t here... Since this macro is used in the tools it would be useful to avoid any potentially clashing names (e.g. so -Wshadow doesn't moan). _sxghr_tmp?