drm: Make drm_local_map use a resource_size_t offset
[deliverable/linux.git] / drivers / gpu / drm / drm_proc.c
index c1959badf11f603796ce85b3dd79aabe1bff20b5..2e3f907a203a86b7ef11c30d369f6d972e9a7910 100644 (file)
@@ -276,9 +276,9 @@ static int drm__vm_info(char *buf, char **start, off_t offset, int request,
                        type = "??";
                else
                        type = types[map->type];
-               DRM_PROC_PRINT("%4d 0x%08lx 0x%08lx %4.4s  0x%02x 0x%08lx ",
+               DRM_PROC_PRINT("%4d 0x%08llx 0x%08lx %4.4s  0x%02x 0x%08lx ",
                               i,
-                              map->offset,
+                              (unsigned long long)map->offset,
                               map->size, type, map->flags,
                               (unsigned long) r_list->user_token);
                if (map->mtrr < 0) {
This page took 0.025716 seconds and 5 git commands to generate.