From: Dan Carpenter <dan.carpenter@oracle.com>
To: Bastien Nocera <hadess@hadess.net>
Cc: linux-sparse@vger.kernel.org
Subject: Re: False positives unlock warning
Date: Wed, 14 Jan 2015 23:54:42 +0300 [thread overview]
Message-ID: <20150114205442.GA6201@mwanda> (raw)
In-Reply-To: <1421257360.2075.1.camel@hadess.net>
On Wed, Jan 14, 2015 at 06:42:40PM +0100, Bastien Nocera wrote:
> On Wed, 2015-01-14 at 19:41 +0300, Dan Carpenter wrote:
> > Sparse gets confused because of the unused "_success_exit:" label. If
> > you delete that it should go away. In "real" kernel code GCC will warn
> > about unused labels.
>
> Unfortunately, the problem in core/rtw_xmit.c is the same warning, but
> this time the label is used.
The goto has been ifdeffed out. Try deleting the "exit:" label. It
still compiles fine for me and the warning is gone.
regards,
dan carpenter
prev parent reply other threads:[~2015-01-14 20:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-14 13:46 False positives unlock warning Bastien Nocera
2015-01-14 14:11 ` Dan Carpenter
2015-01-14 14:19 ` Bastien Nocera
2015-01-14 16:41 ` Dan Carpenter
2015-01-14 17:42 ` Bastien Nocera
2015-01-14 20:54 ` Dan Carpenter [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=20150114205442.GA6201@mwanda \
--to=dan.carpenter@oracle.com \
--cc=hadess@hadess.net \
--cc=linux-sparse@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).