diff options
author | John Garry <john.garry@huawei.com> | 2022-06-10 18:46:41 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-06-17 03:45:09 +0200 |
commit | 940f5efa63161642b32b8dd82c17089b8ada7cbb (patch) | |
tree | 6e059e8439b4b503278135071f8274c42c3be013 /drivers/scsi/dmx3191d.c | |
parent | scsi: pm8001: Set up tags before using them (diff) | |
download | linux-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/dmx3191d.c')
0 files changed, 0 insertions, 0 deletions