]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
authorArun Easi <aeasi@marvell.com>
Thu, 10 Mar 2022 09:25:55 +0000 (01:25 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2022 04:29:14 +0000 (00:29 -0400)
commit4f65eefd285db88bc43e758de8792dba2e2949ea
tree9b707e063318043433c20fd8be8844315d25921c
parent7bf9079a3a94e4ad9979a5a2b4b3a456cd0a0d78
scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests

At NVMe ELS request time, request structure is DMA mapped and never
unmapped. Fix this by calling the unmap on ELS completion.

Link: https://lore.kernel.org/r/20220310092604.22950-5-njavali@marvell.com
Fixes: 215959ed5159 ("scsi: qla2xxx: Add FC-NVMe F/W initialization and transport registration")
Cc: stable@vger.kernel.org
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Arun Easi <aeasi@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_nvme.c