diff options
author | Jan Beulich <JBeulich@suse.com> | 2016-07-07 11:05:21 +0300 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2016-07-22 15:23:38 +0300 |
commit | 6694389af9be4d1eb8d3313788a902f0590fb8c2 (patch) | |
tree | 017c38ced502ee9bc874259be7ab61031a15df27 /drivers/block/xen-blkfront.c | |
parent | 6ba286ad845799b135e5af73d1fbc838fa79f709 (diff) | |
download | linux-6694389af9be4d1eb8d3313788a902f0590fb8c2.tar.xz |
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>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
0 files changed, 0 insertions, 0 deletions