diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-02-20 04:17:57 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-02-23 03:31:19 +0100 |
commit | 7e6b7e740addcea450041b5be8e42f0a4ceece0f (patch) | |
tree | 8fe79c1b1eea51d2168f850ae8d046d05cad03f7 /drivers/dca | |
parent | scsi: pm8001: Fix pm8001_tag_alloc() failures handling (diff) | |
download | linux-7e6b7e740addcea450041b5be8e42f0a4ceece0f.tar.xz linux-7e6b7e740addcea450041b5be8e42f0a4ceece0f.zip |
scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
The call to pm8001_ccb_task_free() at the end of
pm8001_mpi_task_abort_resp() already frees the ccb tag. So when the device
NCQ_ABORT_ALL_FLAG is set, the tag should not be freed again. Also change
the hardcoded 0xBFFFFFFF value to ~NCQ_ABORT_ALL_FLAG as it ought to be.
Link: https://lore.kernel.org/r/20220220031810.738362-19-damien.lemoal@opensource.wdc.com
Reviewed-by: Jack Wang <jinpu.wang@ionos.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/dca')
0 files changed, 0 insertions, 0 deletions