From: Ian Campbell Subject: Re: [PATCH 4/4] opw: libxl: use LOG instead of LIBXL__LOG in libxl_utils.c Date: Mon, 11 Nov 2013 12:30:40 +0000 Message-ID: <1384173040.8909.63.camel@kazak.uk.xensource.com> References: <1384153707-24240-1-git-send-email-kelleynnn@gmail.com> <1384153707-24240-5-git-send-email-kelleynnn@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1384153707-24240-5-git-send-email-kelleynnn@gmail.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: Kelley Nielsen Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sun, 2013-11-10 at 23:08 -0800, Kelley Nielsen wrote: > To conform to the new coding style, replace the invocation of > LIBXL__LOG in the function libxl_pipe() in the file libxl_utils.c > with an invocation of LOG. Create a local libxl__gc gc* for LOG > to use by invoking GC_INIT(ctx) at the top of the function, and > clean it up by invoking GC_FREE at the exit. Create a variable, > ret, to consolidate exits in one place and avoid invoking GC_FREE > twice. > > Signed-off-by: Kelley Nielsen > Suggested-by: Ian Campbell Acked-by: Ian Campbell I'll apply along with the other 3 as part of the resend. Ian.