From: Stefano Stabellini Subject: Re: [PATCH v3 4/6] xen: introduce XEN_GUEST_HANDLE_PARAM Date: Thu, 16 Aug 2012 18:10:40 +0100 Message-ID: References: <1345128612-10323-4-git-send-email-stefano.stabellini@eu.citrix.com> <502D33B8020000780009596B@nat28.tlf.novell.com> <502D37D702000078000959F7@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <502D37D702000078000959F7@nat28.tlf.novell.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: Jan Beulich Cc: xen-devel , "Tim (Xen.org)" , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Thu, 16 Aug 2012, Jan Beulich wrote: > >>> On 16.08.12 at 17:54, "Jan Beulich" wrote: > > Seeing the patch I btw realized that there's no easy way to > > avoid having the type as a second argument in the conversion > > macros. Nevertheless I still don't like the explicitly specified type > > there. > > Btw - on the architecture(s) where the two handles are identical > I would prefer you to make the conversion functions trivial (and > thus avoid making use of the "type" parameter), thus allowing > the type checking to occur that you currently circumvent. OK, I can do that.