summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas/mpt3sas_base.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-04-04 06:55:47 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2022-04-07 04:04:16 +0200
commit6a0d0ae3e8b533d6de627c814c60264b9a85bad6 (patch)
tree74fd304c32d2c6d66b82933f9bf79a6cd63ceb2b /drivers/scsi/mpt3sas/mpt3sas_base.c
parentMerge branch '5.18/scsi-queue' into 5.18/scsi-fixes (diff)
downloadlinux-6a0d0ae3e8b533d6de627c814c60264b9a85bad6.tar.xz
linux-6a0d0ae3e8b533d6de627c814c60264b9a85bad6.zip
scsi: scsi_debug: Fix sdebug_blk_mq_poll() in_use_bm bitmap use
The in_use_bm bitmap of struct sdebug_queue should be accessed under protection of the qc_lock spinlock. Make sure that this lock is taken before calling find_first_bit() at the beginning of the function sdebug_blk_mq_poll(). Link: https://lore.kernel.org/r/20220404045547.579887-1-damien.lemoal@opensource.wdc.com Fixes: 3fd07aecb750 ("scsi: scsi_debug: Fix qc_lock use in sdebug_blk_mq_poll()") Acked-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpt3sas_base.c')
0 files changed, 0 insertions, 0 deletions