summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/53c700.scr
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2022-06-10 18:46:41 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2022-06-17 03:45:09 +0200
commit940f5efa63161642b32b8dd82c17089b8ada7cbb (patch)
tree6e059e8439b4b503278135071f8274c42c3be013 /drivers/scsi/53c700.scr
parentscsi: pm8001: Set up tags before using them (diff)
downloadlinux-940f5efa63161642b32b8dd82c17089b8ada7cbb.tar.xz
linux-940f5efa63161642b32b8dd82c17089b8ada7cbb.zip
scsi: pm8001: Use non-atomic bitmap ops for tag alloc + free
In pm8001_tag_alloc() we don't require atomic set_bit() as we are already in atomic context. In pm8001_tag_free() we should use the same host spinlock to protect clearing the tag (and then don't require the atomic clear_bit()). Link: https://lore.kernel.org/r/1654879602-33497-4-git-send-email-john.garry@huawei.com Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/53c700.scr')
0 files changed, 0 insertions, 0 deletions