* sound/core/init.c - address of 'snd_shutdown_f_ops' will always evaluate as 'true' , warning
@ 2007-07-23 0:43 Gabriel C
2007-07-23 10:25 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Gabriel C @ 2007-07-23 0:43 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Jaroslav Kysela
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sound/core/init.c - address of 'snd_shutdown_f_ops' will always evaluate as 'true' , warning
2007-07-23 0:43 sound/core/init.c - address of 'snd_shutdown_f_ops' will always evaluate as 'true' , warning Gabriel C
@ 2007-07-23 10:25 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2007-07-23 10:25 UTC (permalink / raw)
To: Gabriel C; +Cc: Linux Kernel Mailing List, Jaroslav Kysela
At Mon, 23 Jul 2007 02:43:29 +0200,
Gabriel C wrote:
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-23 10:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23 0:43 sound/core/init.c - address of 'snd_shutdown_f_ops' will always evaluate as 'true' , warning Gabriel C
2007-07-23 10:25 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox