linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH: fix i810 and cs46xx crashes
@ 2003-07-14 12:26 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2003-07-14 12:26 UTC (permalink / raw)
  To: linux-kernel, marcelo


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/drivers/sound/cs46xx.c linux.22-pre5-ac1/drivers/sound/cs46xx.c
--- linux.22-pre5/drivers/sound/cs46xx.c	2003-07-14 12:27:39.000000000 +0100
+++ linux.22-pre5-ac1/drivers/sound/cs46xx.c	2003-07-07 16:08:18.000000000 +0100
@@ -4257,7 +4257,6 @@
 	for (num_ac97 = 0; num_ac97 < NR_AC97; num_ac97++) {
 		if ((codec = ac97_alloc_codec()) == NULL)
 			return -ENOMEM;
-		memset(codec, 0, sizeof(struct ac97_codec));
 
 		/* initialize some basic codec information, other fields will be filled
 		   in ac97_probe_codec */
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/drivers/sound/i810_audio.c linux.22-pre5-ac1/drivers/sound/i810_audio.c
--- linux.22-pre5/drivers/sound/i810_audio.c	2003-07-14 12:27:39.000000000 +0100
+++ linux.22-pre5-ac1/drivers/sound/i810_audio.c	2003-07-07 16:08:18.000000000 +0100
@@ -2875,7 +2875,6 @@
 		
 		if ((codec = ac97_alloc_codec()) == NULL)
 			return -ENOMEM;
-		memset(codec, 0, sizeof(struct ac97_codec));
 
 		/* initialize some basic codec information, other fields will be filled
 		   in ac97_probe_codec */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-14 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-14 12:26 PATCH: fix i810 and cs46xx crashes Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).