summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-05-27 11:43:22 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-20 16:22:44 +0200
commit8018476756066e97ecb886c3dc024aeb7d5792ad (patch)
tree1a575851ff0e0c298797e3594869bb5546f85df7 /drivers/scsi
parentb7a2bcb4a3731d68f938207f75ed3e1d41774510 (diff)
downloadlinux-stable-8018476756066e97ecb886c3dc024aeb7d5792ad.tar.gz
linux-stable-8018476756066e97ecb886c3dc024aeb7d5792ad.tar.bz2
linux-stable-8018476756066e97ecb886c3dc024aeb7d5792ad.zip
memory: fsl_ifc: fix leak of private memory on probe failure
[ Upstream commit 8e0d09b1232d0538066c40ed4c13086faccbdff6 ] On probe error the driver should free the memory allocated for private structure. Fix this by using resource-managed allocation. Fixes: a20cbdeffce2 ("powerpc/fsl: Add support for Integrated Flash Controller") Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210527154322.81253-2-krzysztof.kozlowski@canonical.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions