diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-03-08 19:56:43 +0300 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-03-10 03:59:19 +0300 |
commit | 38eaeb0fd8819dce424a61579500bd9987d5c930 (patch) | |
tree | f6852cdbd6262f563a8ced56d5aa8fc0b5c46dec /drivers/xen/gntalloc.c | |
parent | dc4972a4e2f3fee1663bd0670dfc4cd798d5f9b2 (diff) | |
download | linux-38eaeb0fd8819dce424a61579500bd9987d5c930.tar.xz |
xen: gntdev: fix build warning
addr is actually a virtual address so use an unsigned long. Fixes:
CC drivers/xen/gntdev.o
drivers/xen/gntdev.c: In function 'map_grant_pages':
drivers/xen/gntdev.c:268: warning: cast from pointer to integer of different size
Reduce the scope of the variable at the same time.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/gntalloc.c')
0 files changed, 0 insertions, 0 deletions