aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_vm.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-04-26 16:22:11 +1000
committerDave Airlie <airlied@linux.ie>2007-04-26 16:22:11 +1000
commit4b72759b307f046d71c08d9008b7467e0b3bb0ba (patch)
treedf514f7467594b46a2632d40761e3add1cc5275d /linux-core/drm_vm.c
parent71d44cda52f239b543cb1fad93ef35adc3093d38 (diff)
drm: nopfn warning on 64-bit
Diffstat (limited to 'linux-core/drm_vm.c')
-rw-r--r--linux-core/drm_vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c
index 1f905fba..d39dfc77 100644
--- a/linux-core/drm_vm.c
+++ b/linux-core/drm_vm.c
@@ -739,7 +739,7 @@ static unsigned long drm_bo_vm_nopfn(struct vm_area_struct *vma,
unsigned long bus_base;
unsigned long bus_offset;
unsigned long bus_size;
- int ret = NOPFN_REFAULT;
+ unsigned long ret = NOPFN_REFAULT;
if (address > vma->vm_end)
return NOPFN_SIGBUS;