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 /drivers/net/xen-netfront.c | |
parent | 81362c6f159dcb59fadd60927aa00497d715ca80 (diff) | |
download | linux-f95842e7a9f235ef3b7d6d4b70fee2244149f1e7.tar.bz2 |
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 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions