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 17:11:43 +0300 [thread overview]
Message-ID: <20150114141143.GH5571@mwanda> (raw)
In-Reply-To: <1421243218.2542.45.camel@hadess.net>
On Wed, Jan 14, 2015 at 02:46:58PM +0100, Bastien Nocera wrote:
> Hey,
>
> The following project (a device driver which should compile with kernel
> 3.17 and above) throws a few false positives with "make C=1":
> core/rtw_recv.c:3406:26: warning: context imbalance in 'recv_indicatepkt_reorder' - unexpected unlock
> core/rtw_xmit.c:4300:6: warning: context imbalance in 'xmit_delivery_enabled_frames' - wrong count at exit
This could be either of:
drivers/staging/rtl8723au/core/rtw_recv.c
drivers/staging/rtl8188eu/core/rtw_recv.c
Neither one of these give me that warning. I'm using the latest Sparse
from git and today's linux-next. Can you give us some more hints what
you're talking about?
regards,
dan carpenter
next prev parent reply other threads:[~2015-01-14 14:11 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 [this message]
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
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=20150114141143.GH5571@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.