drm: nopfn warning on 64-bit
authorDave Airlie <airlied@linux.ie>
Thu, 26 Apr 2007 06:22:11 +0000 (16:22 +1000)
committerDave Airlie <airlied@linux.ie>
Thu, 26 Apr 2007 06:22:11 +0000 (16:22 +1000)
linux-core/drm_vm.c

index 1f905fb..d39dfc7 100644 (file)
@@ -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;