Skip to content

Fix locking bugs in error paths

Bart Van Assche linux-scsi 1 version Applied

Status from this message: Applied to 6.15/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2scsi: mpi3mr: Fix locking in an error pathdrivers/scsi/mpi3mr/mpi3mr_app.c+1 -00 replies
2/2scsi: mpt3sas: Fix a locking bug in an error pathdrivers/scsi/mpt3sas/mpt3sas_base.c+7 -50 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/2] Fix locking bugs in error paths

Hi Martin,

Annotating struct mutex and the mutex_*() functions with Clang thread-safety attributes led to the discovery of two locking bugs in error paths of SCSI drivers. This patch series fixes these locking bugs. Please consider this patch series for the next merge window.

Thanks,

Bart.

Bart Van Assche (2):
scsi: mpi3mr: Fix locking in an error path
scsi: mpt3sas: Fix a locking bug in an error path

 drivers/scsi/mpi3mr/mpi3mr_app.c    |  1 +
 drivers/scsi/mpt3sas/mpt3sas_base.c | 12 +++++++-----
 2 files changed, 8 insertions(+), 5 deletions(-)