From: Takashi Iwai <tiwai@suse.de>
To: Gabriel C <nix.or.die@googlemail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Jaroslav Kysela <perex@suse.cz>
Subject: Re: sound/core/init.c - address of 'snd_shutdown_f_ops' will always evaluate as 'true' , warning
Date: Mon, 23 Jul 2007 12:25:51 +0200 [thread overview]
Message-ID: <s5hfy3ffmc0.wl%tiwai@suse.de> (raw)
In-Reply-To: <46A3F9B1.9070207@googlemail.com>
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
prev parent reply other threads:[~2007-07-23 10:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hfy3ffmc0.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=nix.or.die@googlemail.com \
--cc=perex@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox