[PATCH 0/9] Lock warning cleanups

From: Jules Irenge
Date: Fri Apr 10 2020 - 20:20:16 EST


This patch series adds missing annotations to various functions,
that register warnings of context imbalance when built with Sparse tool.
The adds fix the warnings, improve on readability of the code
and give better insight or directive on what the functions are actually
doing.

Jules Irenge (9):
dm snapshot: Add missing annotation for dm_exception_table_lock() and
dm_exception_table_unlock()
mt76: remove unnecessary annotations
hostap: Add missing annotations for prism2_bss_list_proc_start() and
prism2_bss_list_proc_stop
mac80211: Add missing annotation for brcms_rfkill_set_hw_state()
mac80211: Add missing annotation for brcms_down()
scsi: libsas: Add missing annotation for sas_ata_qc_issue()
scsi: bnx2fc: Add missing annotation for bnx2fc_abts_cleanup()
power: wakeup: Add missing annotation for
wakeup_sources_stats_seq_start() and wakeup_sources_stats_seq_stop()
power: wakeup: Add missing annotation for wakeup_sources_read_lock()
and wakeup_sources_read_unlock()

drivers/base/power/wakeup.c | 4 ++++
drivers/md/dm-snap.c | 4 ++++
.../net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c | 2 ++
drivers/net/wireless/intersil/hostap/hostap_proc.c | 2 ++
drivers/net/wireless/mediatek/mt76/tx.c | 4 +---
drivers/scsi/bnx2fc/bnx2fc_io.c | 1 +
drivers/scsi/libsas/sas_ata.c | 1 +
7 files changed, 15 insertions(+), 3 deletions(-)

--
2.24.1