patch-2.4.13 linux/drivers/char/drm/drm_proc.h
Next file: linux/drivers/char/drm/drm_vm.h
Previous file: linux/drivers/char/drm/drm_drv.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Oct 23 22:00:11 2001
- Orig file:
v2.4.12/linux/drivers/char/drm/drm_proc.h
- Orig date:
Thu Oct 18 13:48:13 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/char/drm/drm_proc.h linux/drivers/char/drm/drm_proc.h
@@ -186,7 +186,7 @@
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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)