diff options
author | Juergen Gross <jgross@suse.com> | 2016-10-31 14:58:41 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2016-11-07 13:55:22 +0100 |
commit | f95842e7a9f235ef3b7d6d4b70fee2244149f1e7 (patch) | |
tree | 6a7ac56dd31f72dfd48e563d0b72bb7990441b58 /mm | |
parent | xen: make use of xenbus_read_unsigned() in xen-kbdfront (diff) | |
download | linux-f95842e7a9f235ef3b7d6d4b70fee2244149f1e7.tar.xz linux-f95842e7a9f235ef3b7d6d4b70fee2244149f1e7.zip |
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 'mm')
0 files changed, 0 insertions, 0 deletions