summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/cpwd.c
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@citrix.com>2015-06-17 16:28:03 +0200
committerDavid Vrabel <david.vrabel@citrix.com>2015-06-17 17:15:10 +0200
commitc9fd55eb6625ead6a1207e7da38026ff47c5198b (patch)
tree61c9a499a68bc1480a7e817e82239dc857578e16 /drivers/watchdog/cpwd.c
parentxen: Include xen/page.h rather than asm/xen/page.h (diff)
downloadlinux-c9fd55eb6625ead6a1207e7da38026ff47c5198b.tar.xz
linux-c9fd55eb6625ead6a1207e7da38026ff47c5198b.zip
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>
Diffstat (limited to 'drivers/watchdog/cpwd.c')
0 files changed, 0 insertions, 0 deletions