diff options
| author | Juergen Gross <[email protected]> | 2016-10-31 13:58:41 +0000 |
|---|---|---|
| committer | Juergen Gross <[email protected]> | 2016-11-07 12:55:22 +0000 |
| commit | f95842e7a9f235ef3b7d6d4b70fee2244149f1e7 (patch) | |
| tree | 6a7ac56dd31f72dfd48e563d0b72bb7990441b58 /drivers/net/xen-netfront.c | |
| parent | xen: make use of xenbus_read_unsigned() in xen-kbdfront (diff) | |
| download | kernel-f95842e7a9f235ef3b7d6d4b70fee2244149f1e7.tar.gz kernel-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: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Paul Durrant <[email protected]>
Acked-by: David Vrabel <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions
