All of lore.kernel.org
 help / color / mirror / Atom feed
* stac92xx_parse_auto_config() can return 0 on error?
@ 2007-02-05 21:40 Jason Baron
  2007-02-05 22:29 ` Tobin Davis
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Baron @ 2007-02-05 21:40 UTC (permalink / raw)
  To: alsa-devel; +Cc: John Linville


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-02-08 16:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-05 21:40 stac92xx_parse_auto_config() can return 0 on error? Jason Baron
2007-02-05 22:29 ` 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

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.