linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* unbalanced local_bh_disable
@ 2017-04-19 12:10 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2017-04-19 12:10 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: linux-wireless

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-19 12:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-19 12:10 unbalanced local_bh_disable Johannes Berg

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).