diff options
author | Julien Grall <[email protected]> | 2015-06-17 15:28:03 +0100 |
---|---|---|
committer | David Vrabel <[email protected]> | 2015-06-17 16:15:10 +0100 |
commit | c9fd55eb6625ead6a1207e7da38026ff47c5198b (patch) | |
tree | 61c9a499a68bc1480a7e817e82239dc857578e16 /net/unix/sysctl_net_unix.c | |
parent | a9fd60e2683fb80f5b26a7d686aebe3327a63e70 (diff) |
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 <[email protected]>
Reviewed-by: David Vrabel <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Boris Ostrovsky <[email protected]>
Signed-off-by: David Vrabel <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions