From: Ian Jackson Subject: Re: [PATCH 4/4] xen/public: arm: rework the macro set_xen_guest_handle_raw Date: Wed, 4 Nov 2015 16:24:37 +0000 Message-ID: <22074.12613.295132.517494@mariner.uk.xensource.com> References: <1446228813-2593-1-git-send-email-julien.grall@citrix.com> <1446228813-2593-5-git-send-email-julien.grall@citrix.com> <5638D1E4.4010208@citrix.com> <22074.12469.923941.837807@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zu0rg-0008Qs-A8 for xen-devel@lists.xenproject.org; Wed, 04 Nov 2015 16:24:48 +0000 In-Reply-To: <22074.12469.923941.837807@mariner.uk.xensource.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: Ian Jackson Cc: Keir Fraser , ian.campbell@citrix.com, Stefano Stabellini , Tim Deegan , Julien Grall , Jan Beulich , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("Re: [PATCH 4/4] xen/public: arm: rework the macro set_xen_guest_handle_raw"): > void *copy = (val); > struct xen_guest_handle__pointer *src = &(hnd); > struct xen_guest_handle__pointer *dst = &(xen_xgh_copy); I have my src and dst the wrong way round, and have used the a variable name from a previous draft. This should be: > struct xen_guest_handle__pointer *src = &(copy); > struct xen_guest_handle__pointer *dst = &(hnd); Ian.