From: Ian Campbell Subject: Re: [PATCH v4 4/7] xen, common: add the XEN_DOMCTL_memory_mapping hypercall Date: Tue, 1 Apr 2014 16:37:08 +0100 Message-ID: <1396366628.8667.244.camel@kazak.uk.xensource.com> References: <1395712976-19454-1-git-send-email-avanzini.arianna@gmail.com> <1395712976-19454-5-git-send-email-avanzini.arianna@gmail.com> <53319C680200007800001C14@nat28.tlf.novell.com> <5331B0760200007800001D90@nat28.tlf.novell.com> <1396364494.8667.226.camel@kazak.uk.xensource.com> <533AF4DA0200007800004419@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <533AF4DA0200007800004419@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: paolo.valente@unimore.it, keir@xen.org, Stefano Stabellini , tim@xen.org, dario.faggioli@citrix.com, Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org, julien.grall@citrix.com, etrudeau@broadcom.com, AriannaAvanzini , viktor.kleinik@globallogic.com List-Id: xen-devel@lists.xenproject.org On Tue, 2014-04-01 at 16:18 +0100, Jan Beulich wrote: > >>> On 01.04.14 at 17:01, wrote: > > Although the reuse of the add variable in the else clause if an if (add) > > is pretty damned confusing... > > I was really surprised that no-one said this earlier on this thread (and > yes, I'm guilty in having introduced this in the x86 code, wanting to > avoid adding another variable). ;-) I only noticed it because I was about to say "how can this code be right, we are in the else clause". Ian.