[linux-dvb] Oops in tda10023

e9hack e9hack at googlemail.com
Fri May 30 16:52:28 CEST 2008


Antti Palosaari schrieb:
>> I think the oops occurs, because tda10023_writereg() fails in tda10023_attach(). If 
>> tda10023_writereg fails, an error message is printed. In this case, 
>> state->frontend.dvb->num is accessed, but it isn't initialized yet.
> 
> hmm, I see the problem now. Originally state was initialized before 
> tda10023_writereg() was called but after I did some changes this is not 
> done anymore. And when writereg() fails in attach some reason it oops.

It wasn't introduced with your modifications. The frontend.dvb part is initialized after 
the attach call. tda10023_writereg() must check, if state->frontend.dvb is initialized or 
not.

-Hartmut




More information about the linux-dvb mailing list