mbox series

[0/2] Fix locking bugs in error paths

Message ID 20250210203936.2946494-1-bvanassche@acm.org
Headers show
Series Fix locking bugs in error paths | expand

Message

Bart Van Assche Feb. 10, 2025, 8:39 p.m. UTC
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(-)