]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
authorTomas Henzl <thenzl@redhat.com>
Thu, 2 Mar 2023 23:43:36 +0000 (00:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:42 +0000 (13:33 +0100)
commit45d03e11c104976afeb0b667af59d5ebbc3a0054
tree8b906e0de316adb61cd78dd7a320c9e67c989c5e
parent475397c03d3c9e3cfe761833ba7ca33fb82724d0
scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()

[ Upstream commit 6d290ac5b58a86bb46b3866e1815dc0d083ce4d2 ]

Add a missing resource clean up in .remove.

Fixes: 38e56ff115e1 ("scsi: mpi3mr: Add expander devices to STL")
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20230302234336.25456-7-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.h
drivers/scsi/mpi3mr/mpi3mr_os.c
drivers/scsi/mpi3mr/mpi3mr_transport.c