patch-2.4.21 linux-2.4.21/drivers/char/drm/drm_auth.h
Next file: linux-2.4.21/drivers/char/drm/drm_ioctl.h
Previous file: linux-2.4.21/drivers/char/drm/drm_agpsupport.h
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/drivers/char/drm/drm_auth.h
- Orig date:
2002-11-28 15:53:12.000000000 -0800
diff -urN linux-2.4.20/drivers/char/drm/drm_auth.h linux-2.4.21/drivers/char/drm/drm_auth.h
@@ -63,6 +63,7 @@
hash = DRM(hash_magic)(magic);
entry = DRM(alloc)(sizeof(*entry), DRM_MEM_MAGIC);
if (!entry) return -ENOMEM;
+ memset(entry, 0, sizeof(*entry));
entry->magic = magic;
entry->priv = priv;
entry->next = NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)