From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933268AbcGGJfb (ORCPT ); Thu, 7 Jul 2016 05:35:31 -0400 Received: from smtp.citrix.com ([66.165.176.89]:14247 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751691AbcGGJf3 (ORCPT ); Thu, 7 Jul 2016 05:35:29 -0400 X-IronPort-AV: E=Sophos;i="5.28,324,1464652800"; d="scan'208";a="364798464" Date: Thu, 7 Jul 2016 11:35:18 +0200 From: Roger Pau Monne To: Jan Beulich CC: Konrad Rzeszutek Wilk , , Subject: Re: [PATCH] xen-blkback: prefer xenbus_scanf() over xenbus_gather() Message-ID: <20160707093518.fnjljkyptspsqfgw@mac> References: <577E296102000078000FBF1C@prv-mh.provo.novell.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <577E296102000078000FBF1C@prv-mh.provo.novell.com> User-Agent: Mutt/1.6.0-neo (2016-04-07) X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 07, 2016 at 02:05:21AM -0600, Jan Beulich wrote: > ... for single items being collected: It is more typesafe (as the > compiler can check format string and to-be-written-to variable match) > and requires one less parameter to be passed. > > Signed-off-by: Jan Beulich Acked-by: Roger Pau Monné