Skip to content

target: Sparse bugfixes and warnings/annotations

Nicholas A. Bellinger linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target: Drop nacl->device_list_lock on core_update_device_list_for_node failuredrivers/target/target_core_device.c+2 -00 replies
2/3target: Reaquire hba_lock + se_port_lock during se_clear_dev_ports continuedrivers/target/target_core_device.c+2 -04 replies
3/3target: Minor sparse warning fixes and annotationsdrivers/target/target_core_device.c drivers/target/target_core_fabric_lib.c drivers/target/target_core_mib.c +5 more+41 -168 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] target: Sparse bugfixes and warnings/annotations

From: Nicholas Bellinger <[email protected]>

Greetings folks,

This series is a breakout of Fubo's recent sparse patches. The first two patches fix real potential deadlocks for sanity check failures in target_core_device.c, and the third contains the various non-critical changes and locking annotations.

Thanks again to Fubo for his contribution!

Fubo Chen (3):
target: Drop nacl->device_list_lock on
core_update_device_list_for_node failure
target: Reaquire hba_lock + se_port_lock during se_clear_dev_ports
continue
target: Minor sparse warning fixes and annotations

 drivers/target/target_core_device.c     |    5 +++++
 drivers/target/target_core_fabric_lib.c |    1 +
 drivers/target/target_core_mib.c        |   20 ++++++++++++++++++++
 drivers/target/target_core_pscsi.c      |    3 +++
 drivers/target/target_core_rd.h         |    2 --
 drivers/target/target_core_transport.c  |    4 +---
 include/target/target_core_base.h       |   22 +++++++++++-----------
 include/target/target_core_transport.h  |    4 ++++
 8 files changed, 45 insertions(+), 16 deletions(-)