tmp_suning_uos_patched/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
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
xenbus_comms.h
xenbus_dev_backend.c
xenbus_dev_frontend.c
xenbus_probe_backend.c
xenbus_probe_frontend.c
xenbus_probe.c xenbus: avoid uninitialized variable warning 2015-05-28 12:23:12 +01:00
xenbus_probe.h
xenbus_xs.c