[PATCH] Re: ALSA problems: sound lockup, modules, 2.5.70

viro@parcelfarce.linux.theplanet.co.uk
Tue, 27 May 2003 19:51:04 +0100


Argh. Missing initialization in char_dev.c - it's definitely
responsible for crap on unload. Load side appears to be something else,
though...

--- 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/