diff options
author | Juergen Gross <jgross@suse.com> | 2016-10-31 16:58:40 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2016-11-07 15:55:07 +0300 |
commit | 8235777b2068e3280b6fa1413f1940ade31f0adf (patch) | |
tree | 3a559cc5e59af90987bae75ee234371e33b5742c /drivers/block/xen-blkfront.c | |
parent | 9c53a1792a5e6c708897d0cb17f2a4509e499a52 (diff) | |
download | linux-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