summaryrefslogtreecommitdiffstats
path: root/block
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:02:25 +0200
commit48ee69825f7480622ed447b0249123236d3b3ad0 (patch)
tree87ce34aac6685640379d34692a88c0cba63862e0 /block
parent83af5816308b490b05fc8fa27fc1bdc769df200a (diff)
downloadlinux-stable-48ee69825f7480622ed447b0249123236d3b3ad0.tar.gz
linux-stable-48ee69825f7480622ed447b0249123236d3b3ad0.tar.bz2
linux-stable-48ee69825f7480622ed447b0249123236d3b3ad0.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 'block')
0 files changed, 0 insertions, 0 deletions