OpenCloudOS-Kernel/drivers/xen/xen-pciback
Juergen Gross 4e81f1caa7 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>
2016-11-07 13:55:34 +01:00
..
Makefile xen/pciback: Have 'passthrough' option instead of XEN_PCIDEV_BACKEND_PASS and XEN_PCIDEV_BACKEND_VPCI 2011-07-19 21:04:20 -04:00
conf_space.c xen-pciback: drop superfluous variables 2016-07-06 10:35:38 +01:00
conf_space.h xen-pciback: Add name prefix to global 'permissive' variable 2015-04-29 17:34:50 +01:00
conf_space_capability.c xen/pciback: Drop two backends, squash and cleanup some code. 2011-07-19 20:58:35 -04:00
conf_space_header.c xen-pciback: use const and unsigned in bar_init() 2016-07-06 10:35:38 +01:00
conf_space_quirks.c xen/pciback: miscellaneous adjustments 2011-09-21 18:17:59 -04:00
conf_space_quirks.h xen/pciback: Drop two backends, squash and cleanup some code. 2011-07-19 20:58:35 -04:00
passthrough.c xen/pciback: Don't deadlock when unbinding. 2014-12-04 12:41:58 +00:00
pci_stub.c xen/pciback: support driver_override 2016-09-30 11:49:02 +01:00
pciback.h xen: xen-pciback: Remove create_workqueue 2016-07-06 10:34:48 +01:00
pciback_ops.c xen: xen-pciback: Remove create_workqueue 2016-07-06 10:34:48 +01:00
vpci.c xen/pciback: Don't deadlock when unbinding. 2014-12-04 12:41:58 +00:00
xenbus.c xen: make use of xenbus_read_unsigned() in xen-pciback 2016-11-07 13:55:34 +01:00