linux-sg2042/drivers/xen/xenbus
Julien Grall c9fd55eb66 xen/xenbus: client: Fix call of virt_to_mfn in xenbus_grant_ring
virt_to_mfn should take a void* rather an unsigned long. While it
doesn't really matter now, it would throw a compiler warning later when
virt_to_mfn will enforce the type.

At the same time, avoid to compute new virtual address every time in the
loop and directly increment the parameter as we don't use it later.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
2015-06-17 16:15:10 +01:00
..
Makefile xen: Add xenbus_backend device 2011-12-16 13:29:41 -05:00
xenbus_client.c xen/xenbus: client: Fix call of virt_to_mfn in xenbus_grant_ring 2015-06-17 16:15:10 +01:00
xenbus_comms.c xen: Convert printks to pr_<level> 2013-06-28 11:19:58 -04:00
xenbus_comms.h xenbus: save xenstore local status for later use 2013-05-29 09:04:20 -04:00
xenbus_dev_backend.c xen: Convert printks to pr_<level> 2013-06-28 11:19:58 -04:00
xenbus_dev_frontend.c xenbus: Add proper handling of XS_ERROR from Xenbus for transactions. 2015-02-05 15:04:46 +00:00
xenbus_probe.c xenbus: avoid uninitialized variable warning 2015-05-28 12:23:12 +01:00
xenbus_probe.h xen: remove DEFINE_XENBUS_DRIVER() macro 2014-10-06 10:27:57 +01:00
xenbus_probe_backend.c xen: remove DEFINE_XENBUS_DRIVER() macro 2014-10-06 10:27:57 +01:00
xenbus_probe_frontend.c xen: remove DEFINE_XENBUS_DRIVER() macro 2014-10-06 10:27:57 +01:00
xenbus_xs.c xen/xenbus: Avoid synchronous wait on XenBus stalling shutdown/restart. 2014-04-15 17:41:28 +01:00