linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: linux-sparse@vger.kernel.org
Subject: False positives unlock warning
Date: Wed, 14 Jan 2015 14:46:58 +0100	[thread overview]
Message-ID: <1421243218.2542.45.camel@hadess.net> (raw)

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

The code however doesn't look like it's doing anything problematic.

Any ideas?

Cheers


             reply	other threads:[~2015-01-14 13:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14 13:46 Bastien Nocera [this message]
2015-01-14 14:11 ` False positives unlock warning 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

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=1421243218.2542.45.camel@hadess.net \
    --to=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).