summaryrefslogtreecommitdiff
path: root/drivers/block/xen-blkfront.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2016-10-31 16:58:40 +0300
committerJuergen Gross <jgross@suse.com>2016-11-07 15:55:07 +0300
commit8235777b2068e3280b6fa1413f1940ade31f0adf (patch)
tree3a559cc5e59af90987bae75ee234371e33b5742c /drivers/block/xen-blkfront.c
parent9c53a1792a5e6c708897d0cb17f2a4509e499a52 (diff)
downloadlinux-8235777b2068e3280b6fa1413f1940ade31f0adf.tar.xz
xen: make use of xenbus_read_unsigned() in xen-blkback
Use xenbus_read_unsigned() instead of xenbus_scanf() when possible. This requires to change the type of one read from int to unsigned, but this case has been wrong before: negative values are not allowed for the modified case. Cc: konrad.wilk@oracle.com Cc: roger.pau@citrix.com Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
0 files changed, 0 insertions, 0 deletions