Re: [Xen-devel] [PATCH] xen-blkback: prefer xenbus_scanf() over xenbus_gather()

2016-07-07 Thread Roger Pau Monne
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

[Xen-devel] [PATCH] xen-blkback: prefer xenbus_scanf() over xenbus_gather()

2016-07-07 Thread Jan Beulich
... 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 --- drivers/block/xen-blkback/xenbus.c | 13 ++--- 1 file changed, 6 insertio