[linux-dvb] questions about STV0229_LOCKOUTPUT

Andrew de Quincey adq_dvb at lidskialf.net
Tue Nov 8 03:00:01 CET 2005


On Monday 07 Nov 2005 22:38, Jeremy Hall wrote:
> I see it's using the bsbe1 config which doesn't set this value (assuming
> it will be 0)
>
> What guarantee do we have that if unspecified it iwll be 0? the fact that
> it is static?
>
> Some compilers don't give you that.

I'm not sure, but I _think_ the kernel assumes static data will be initialised 
to 0 all over the place. I try not to rely on that myself 'cos no one is ever 
100% certain.



More information about the linux-dvb mailing list