commit | 4e81f1caa7ff77f7fd31bd31f84b1a0dcfc8184e | [log] [tgz] |
---|---|---|
author | Juergen Gross <jgross@suse.com> | Mon Oct 31 14:58:41 2016 +0100 |
committer | Juergen Gross <jgross@suse.com> | Mon Nov 07 13:55:34 2016 +0100 |
tree | 8d0deb9c42e7411034b940f31e06b4b8c2310023 | |
parent | eaf46e181ec3cc3b6eafdbe8e30fb5a03ebbde68 [diff] |
xen: make use of xenbus_read_unsigned() in xen-pciback Use xenbus_read_unsigned() instead of xenbus_scanf() when possible. This requires to change the type of the read from int to unsigned, but this case has been wrong before: negative values are not allowed for the modified case. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: David Vrabel <david.vrabel@citrix.com>