android_kernel_sony_sdm845/drivers/scsi/pm8001
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Damien Le Moal af1b6f2ac8 scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
[ Upstream commit 7e6b7e740addcea450041b5be8e42f0a4ceece0f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-20 09:06:42 +02:00
..
Makefile
pm80xx_hwi.c scsi: pm8001: Fix abort all task initialization 2022-04-20 09:06:35 +02:00
pm80xx_hwi.h
pm8001_chips.h
pm8001_ctl.c
pm8001_ctl.h
pm8001_defs.h
pm8001_hwi.c scsi: pm8001: Fix pm8001_mpi_task_abort_resp() 2022-04-20 09:06:42 +02:00
pm8001_hwi.h
pm8001_init.c scsi: pm80xx: Fix error return in pm8001_pci_probe() 2020-12-29 13:44:59 +01:00
pm8001_sas.c scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort 2020-09-23 08:46:14 +02:00
pm8001_sas.h