patch-2.4.21 linux-2.4.21/drivers/char/drm/drm_lists.h
Next file: linux-2.4.21/drivers/char/drm/drm_scatter.h
Previous file: linux-2.4.21/drivers/char/drm/drm_ioctl.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/drivers/char/drm/drm_lists.h
- Orig date:
2002-11-28 15:53:12.000000000 -0800
diff -urN linux-2.4.20/drivers/char/drm/drm_lists.h linux-2.4.21/drivers/char/drm/drm_lists.h
@@ -41,7 +41,7 @@
DRM_MEM_BUFLISTS);
if(!bl->bufs) return -ENOMEM;
-
+ memset(bl->bufs, 0, sizeof(*bl->bufs));
bl->count = count;
bl->rp = bl->bufs;
bl->wp = bl->bufs;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)