From: Ian Jackson Subject: Re: [PATCH 1/4] libxl: convert to use LOG() macro Date: Tue, 15 Sep 2015 18:01:15 +0100 Message-ID: <22008.20187.503260.168744@mariner.uk.xensource.com> References: <1442310104-23932-1-git-send-email-wei.liu2@citrix.com> <1442310104-23932-2-git-send-email-wei.liu2@citrix.com> <55F83579.8070307@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZbtcD-00006w-Ll for xen-devel@lists.xenproject.org; Tue, 15 Sep 2015 17:01:57 +0000 In-Reply-To: <55F83579.8070307@citrix.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: Andrew Cooper Cc: Xen-devel , Wei Liu , Ian Campbell List-Id: xen-devel@lists.xenproject.org Andrew Cooper writes ("Re: [Xen-devel] [PATCH 1/4] libxl: convert to use LOG() macro"): > There are a number of entries like this where the number of lines could > be reduced. Indeed, but that's IMO no reason to block this patch which is a big improvement. > > - if (ret==0 || xcinfo.domain != domid) return ERROR_DOMAIN_NOTFOUND; > > + if (ret==0 || xcinfo.domain != domid) { > > + GC_FREE; > > + return ERROR_DOMAIN_NOTFOUND; > > + } > > Alignment. Well spotted. Thanks for your careful review. Wei, you should retain my ack when you fix this. Ian.