summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2016-10-31 16:58:41 +0300
committerJuergen Gross <jgross@suse.com>2016-11-07 15:55:22 +0300
commitf95842e7a9f235ef3b7d6d4b70fee2244149f1e7 (patch)
tree6a7ac56dd31f72dfd48e563d0b72bb7990441b58 /block
parent81362c6f159dcb59fadd60927aa00497d715ca80 (diff)
downloadlinux-f95842e7a9f235ef3b7d6d4b70fee2244149f1e7.tar.xz
xen: make use of xenbus_read_unsigned() in xen-netback
Use xenbus_read_unsigned() instead of xenbus_scanf() when possible. This requires to change the type of some reads from int to unsigned, but these cases have been wrong before: negative values are not allowed for the modified cases. Cc: wei.liu2@citrix.com Cc: paul.durrant@citrix.com Cc: netdev@vger.kernel.org Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Paul Durrant <paul.durrant@citrix.com> Acked-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions