From: Ian Campbell Subject: Re: [PATCH v4 17/17] libxl: Coding Style cleanups to libxl_dom.c Date: Wed, 13 Nov 2013 10:05:41 +0000 Message-ID: <1384337141.5406.30.camel@kazak.uk.xensource.com> References: <1384277936.10204.111.camel@kazak.uk.xensource.com> <1384277960-14426-17-git-send-email-ian.campbell@citrix.com> <21122.28331.336117.519398@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21122.28331.336117.519398@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: stefano.stabellini@eu.citrix.com, tim@xen.org, julien.grall@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2013-11-12 at 18:08 +0000, Ian Jackson wrote: > Ian Campbell writes ("[PATCH v4 17/17] libxl: Coding Style cleanups to libxl_dom.c"): > > This file had a rash of spaces and assignments inside if expressions. > > Acked-by: Ian Jackson Thanks. > > If I were doing this > > > - if ( ret != 0) { > > + if (ret != 0) { > > I would write simply > > + if (ret) { > > but I know not everyone agrees. I thought about changing this too but decided not to keep pulling on the thread... Ian.