Messages in this thread Patch in this message | | | Date | Mon, 14 Jul 2003 13:26:09 +0100 | From | Alan Cox <> | Subject | PATCH: fix i810 and cs46xx crashes |
| |
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 */ - 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/
| |