]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpi3mr: Fix config page DMA memory leak
authorTomas Henzl <thenzl@redhat.com>
Thu, 2 Mar 2023 23:43:32 +0000 (00:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:41 +0000 (13:33 +0100)
commit4e8da769e8b631e194cbc98009c9436d7a976a91
tree7c2d0f7382b9ed936c6f5f033098de95c5c7d877
parente96f3b0225ddad4710e69deb71ca289e3742ecd7
scsi: mpi3mr: Fix config page DMA memory leak

[ Upstream commit b9c874a69db75f4900f45fcffc569b884178f8b7 ]

A fix for:

DMA-API: pci 0000:83:00.0: device driver has pending DMA allocations while released from device [count=1]

Fixes: 14ae28221a98 ("scsi: mpi3mr: Add framework to issue config requests")
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20230302234336.25456-3-thenzl@redhat.com
Acked-by: Sathya Prakash Veerichetty <sathya.prakash@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/mpi3mr/mpi3mr_fw.c