From: Johannes Berg <johannes@sipsolutions.net>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: unbalanced local_bh_disable
Date: Wed, 19 Apr 2017 14:10:36 +0200 [thread overview]
Message-ID: <1492603836.22185.4.camel@sipsolutions.net> (raw)
Hi Dan,
I'm seeing things like this with sparse:
drivers/net/wireless/intel/iwlwifi/pcie/rx.c:1746 iwl_pcie_irq_handler() warn: returning with unbalanced local_bh_disable
drivers/net/wireless/intel/iwlwifi/pcie/rx.c:1992 iwl_pcie_irq_msix_handler() warn: returning with unbalanced local_bh_disable
but the code looks like
local_bh_disable();
iwl_pcie_rx_handle(trans, 0);
local_bh_enable();
Any idea what's confusing smatch?
Thanks,
johannes
reply other threads:[~2017-04-19 12:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1492603836.22185.4.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=dan.carpenter@oracle.com \
--cc=linux-wireless@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).