diff options
Diffstat (limited to 'linux-core/drm_proc.c')
-rw-r--r-- | linux-core/drm_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c index f65f42b7..24e8556f 100644 --- a/linux-core/drm_proc.c +++ b/linux-core/drm_proc.c @@ -186,7 +186,7 @@ static int DRM(_vm_info)(char *buf, char **start, off_t offset, int request, DRM_PROC_PRINT("slot offset size type flags " "address mtrr\n\n"); i = 0; - list_for_each(list, &dev->maplist->head) { + if (dev->maplist != NULL) list_for_each(list, &dev->maplist->head) { r_list = (drm_map_list_t *)list; map = r_list->map; if(!map) continue; |