From: Jason Baron <jbaron@redhat.com>
To: alsa-devel@alsa-project.org
Cc: John Linville <linville@redhat.com>
Subject: stac92xx_parse_auto_config() can return 0 on error?
Date: Mon, 5 Feb 2007 16:40:57 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.64.0702051624060.26250@dhcp83-20.boston.redhat.com> (raw)
hi,
I just ran into a RHEL4 U5 beta kernel oops in snd_hda_input_mux_info(),
because the 'imux' parameter pointer was NULL. I traced this back to
stac92xx_parse_auto_config(), which can return 0, if 'line_outs' is not
set, without having initialized the 'input_mux'.
The oops does not happen on the upstream kernel on this hardware b/c
'line_outs' was set (additional code has been added since RHEL4 to set
it). However, it still appears to me, that if 'line_outs' is not set, we
should return an error code, and not 0.
thanks,
-Jason
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
next reply other threads:[~2007-02-05 21:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-05 21:40 Jason Baron [this message]
2007-02-05 22:29 ` stac92xx_parse_auto_config() can return 0 on error? Tobin Davis
2007-02-06 11:47 ` Takashi Iwai
2007-02-06 16:53 ` Jason Baron
2007-02-06 17:00 ` Takashi Iwai
2007-02-08 15:30 ` Takashi Iwai
2007-02-08 16:34 ` Jason Baron
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=Pine.LNX.4.64.0702051624060.26250@dhcp83-20.boston.redhat.com \
--to=jbaron@redhat.com \
--cc=alsa-devel@alsa-project.org \
--cc=linville@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.