[PATCH 00/30] Lock warning cleanups
From: Jules Irenge
Date: Sun Feb 23 2020 - 18:17:59 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 odf the code
and give better insight or directive on what the functions are actually doing.
Jules Irenge (30):
btrfs: Add missing annotation for release_extent_buffer()
dax: Add missing annotations ofr dax_read_lock() and dax_read_unlock()
xfs: Add missing annotation to xfs_ail_check()
sctp: Add missing annotation for sctp_err_finish()
sctp: Add missing annotation for sctp_transport_walk_start()
sctp: Add missing annotation for sctp_transport_walk_stop()
net: Add missing annotation for llc_seq_start()
netrom: Add missing annotation for nr_info_start()
netrom: Add missing annotation for nr_info_stop()
net: netrom: Add missing annotation for nr_node_start()
net: netrom: Add missing annotation for nr_node_stop()
net: netrom: Add missing annotation for nr_neigh_start()
net: netrom: Add missing annotation for nr_neigh_stop()
dccp: Add missing annotation for dccp_child_process()
af_unix: Add missing annotation for unix_wait_for_peer()
proc: Add missing annotation for close_pdeo()
mm/zsmalloc: Add missing annotation for zs_map_object()
mm/zsmalloc: Add missing annotation for zs_unmap_object()
mm/zsmalloc: Add missing annotation for migrate_write_lock()
mm/zsmalloc: Add missing annotation for migrate_write_unlock()
scsi: csiostor: Add missing annotation for csio_scsi_cleanup_io_q()
ACPI: OSL: Add missing annotation for acpi_os_acquire_lock()
ACPI: OSL: Add missing annotation for acpi_os_release_lock()
dmaengine: mic_x100_dma: Add missing annotation for
mic_dma_tx_submit_unlock()
zram: Add missing annotatin for zram_slot_lock()
zram: Add missing annotatin for zram_slot_unlock()
habanalabs: Add missing annotation for goya_hw_queues_lock()
habanalabs: Add missing annotation for goya_hw_queues_unlock()
sgi-xp: Add missing annotation for xpc_disconnect_channel()
sgi-xp: Add missing annotation for ocfs2_inode_cache_lock() and
ocfs2_inode_cache_unlock()
drivers/acpi/osl.c | 2 ++
drivers/block/zram/zram_drv.c | 2 ++
drivers/dax/super.c | 4 ++--
drivers/dma/mic_x100_dma.c | 1 +
drivers/misc/habanalabs/goya/goya.c | 2 ++
drivers/misc/sgi-xp/xpc_channel.c | 1 +
drivers/scsi/csiostor/csio_scsi.c | 1 +
fs/btrfs/extent_io.c | 1 +
fs/ocfs2/inode.c | 2 ++
fs/proc/inode.c | 1 +
fs/xfs/xfs_trans_ail.c | 1 +
mm/zsmalloc.c | 4 ++++
net/dccp/minisocks.c | 1 +
net/llc/llc_proc.c | 2 +-
net/netrom/af_netrom.c | 2 ++
net/netrom/nr_route.c | 4 ++++
net/sctp/input.c | 1 +
net/sctp/socket.c | 4 ++--
net/unix/af_unix.c | 1 +
19 files changed, 32 insertions(+), 5 deletions(-)
--
2.24.1