xen-blkback: prefer xenbus_scanf() over xenbus_gather()
authorJan Beulich <JBeulich@suse.com>
Thu, 7 Jul 2016 08:05:21 +0000 (02:05 -0600)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 22 Jul 2016 12:23:38 +0000 (08:23 -0400)
commit6694389af9be4d1eb8d3313788a902f0590fb8c2
tree017c38ced502ee9bc874259be7ab61031a15df27
parent6ba286ad845799b135e5af73d1fbc838fa79f709
xen-blkback: prefer xenbus_scanf() over xenbus_gather()

... 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 <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
drivers/block/xen-blkback/xenbus.c