From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: [PATCH 2/6] libxl: introduce libxl__device_generic_add_t Date: Tue, 3 Apr 2012 13:03:15 +0100 Message-ID: References: <1332856772-30292-2-git-send-email-stefano.stabellini@eu.citrix.com> <20337.61376.319377.655549@mariner.uk.xensource.com> <20345.53580.464371.690500@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20345.53580.464371.690500@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: "xen-devel@lists.xensource.com" , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, 2 Apr 2012, Ian Jackson wrote: > 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() ? Yes, I can do that.