From: Wei Liu Subject: Re: [PATCH 0/2] Convert libxl__sprintf(gc) to GCSPRINTF Date: Tue, 17 Nov 2015 15:38:39 +0000 Message-ID: <20151117153839.GF1495@citrix.com> References: <1447772928-12652-1-git-send-email-wei.liu2@citrix.com> <564B4906.1080404@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZyiTu-00028n-Vb for xen-devel@lists.xenproject.org; Tue, 17 Nov 2015 15:47:43 +0000 Content-Disposition: inline In-Reply-To: <564B4906.1080404@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: David Vrabel Cc: Xen-devel , Wei Liu , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Tue, Nov 17, 2015 at 03:34:30PM +0000, David Vrabel wrote: > On 17/11/15 15:08, Wei Liu wrote: > > There are mixed usage of libxl__sprintf(gc) and GCSPRINTF. Convert all > > libxl__sprintf to GCSPRINTF. > > This looks like pointless churn /and/ GCSPRINTF is /less/ readable than > libxl__sprintf(gc,...) because the reader now has to also look up what > GCSPRINTF does. > The goal is to make things consistent across libxl code base. Currently there are 400+ GCSPRINTF vs 240+ libxl__sprintf, which is causing confusion for contributors. If you think libxl__sprintf is clear you can submit patch to turn that 400+ GCSPRINTF to libxl__sprintf. Wei. > David > >