commit | 8235777b2068e3280b6fa1413f1940ade31f0adf | [log] [tgz] |
---|---|---|
author | Juergen Gross <jgross@suse.com> | Mon Oct 31 14:58:40 2016 +0100 |
committer | Juergen Gross <jgross@suse.com> | Mon Nov 07 13:55:07 2016 +0100 |
tree | 3a559cc5e59af90987bae75ee234371e33b5742c | |
parent | 9c53a1792a5e6c708897d0cb17f2a4509e499a52 [diff] |
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>