--- C70/fs/char_dev.c Mon May 26 22:21:39 2003
+++ linux/fs/char_dev.c Tue May 27 14:48:53 2003
@@ -89,6 +89,8 @@
if (cd == NULL)
return ERR_PTR(-ENOMEM);
+ memset(cd, 0, sizeof(struct char_device_struct));
+
write_lock_irq(&chrdevs_lock);
/* temporary */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/