From: Bart Van Assche <bvanassche@acm.org>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org, Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH 0/2] Fix locking bugs in error paths
Date: Mon, 10 Feb 2025 12:39:34 -0800 [thread overview]
Message-ID: <20250210203936.2946494-1-bvanassche@acm.org> (raw)
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(-)
next reply other threads:[~2025-02-10 20:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-10 20:39 Bart Van Assche [this message]
2025-02-10 20:39 ` [PATCH 1/2] scsi: mpi3mr: Fix locking in an error path Bart Van Assche
2025-02-10 20:39 ` [PATCH 2/2] scsi: mpt3sas: Fix a locking bug " Bart Van Assche
2025-02-19 2:36 ` [PATCH 0/2] Fix locking bugs in error paths Martin K. Petersen
2025-02-25 0:32 ` Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250210203936.2946494-1-bvanassche@acm.org \
--to=bvanassche@acm.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox