From: Ian Jackson Subject: Re: [PATCH 2/6] libxl: introduce libxl__device_generic_add_t Date: Mon, 2 Apr 2012 17:18:20 +0100 Message-ID: <20345.53580.464371.690500@mariner.uk.xensource.com> References: <1332856772-30292-2-git-send-email-stefano.stabellini@eu.citrix.com> <20337.61376.319377.655549@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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" , Ian Campbell List-Id: xen-devel@lists.xenproject.org Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 2/6] libxl: introduce libxl__device_generic_add_t"): > On Tue, 27 Mar 2012, Ian Jackson wrote: > > Can we avoid introducing more of these transaction loops using goto ? > > I am afraid I actually prefer the simple goto scheme than the convoluted > code below. I really can't stomach any more of these gotos. If you don't want to abstract it away, can't you at least write the loop as a loop with for() or while() ? Ian.