From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: linux-kernel@vger.kernel.org, marcelo@conectiva.com
Subject: PATCH: fix i810 and cs46xx crashes
Date: Mon, 14 Jul 2003 13:26:09 +0100 [thread overview]
Message-ID: <200307141226.h6ECQ9HG030923@hraefn.swansea.linux.org.uk> (raw)
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 */
reply other threads:[~2003-07-14 12:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200307141226.h6ECQ9HG030923@hraefn.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).