sound/core/init.c - address of 'snd_shutdown_f_ops' will always evaluate as 'true' , warning
Hi,
I got this warning on current git using gcc 4.2.1:
...
sound/core/init.c: In function 'snd_card_disconnect':sound/core/init.c:307: warning: the address of 'snd_shutdown_f_ops' will always evaluate as 'true'
...
Regards,
Gabriel C
At Mon, 23 Jul 2007 02:43:29 +0200,
Quoted 11 lines · Gabriel C
Hi,
I got this warning on current git using gcc 4.2.1:
...
sound/core/init.c: In function 'snd_card_disconnect':sound/core/init.c:307: warning: the address of 'snd_shutdown_f_ops' will always evaluate as 'true'...
Yeah, gcc 4.2 is too verbose about this unnecessary warning...
Takashi