Re: [RFT PATCH v2 1/2] memory: fsl_ifc: fix leaking IO mapping on probe failure

From: Krzysztof Kozlowski
Date: Thu Jun 10 2021 - 03:27:21 EST


On Thu, 27 May 2021 11:43:21 -0400, Krzysztof Kozlowski wrote:
> On probe error the driver should unmap the IO memory. Smatch reports:
>
> drivers/memory/fsl_ifc.c:298 fsl_ifc_ctrl_probe() warn: 'fsl_ifc_ctrl_dev->gregs' not released on lines: 298.

Applied, thanks!

[1/2] memory: fsl_ifc: fix leaking IO mapping on probe failure
commit: 3b132ab67fc7a358fff35e808fa65d4bea452521
[2/2] memory: fsl_ifc: fix leak of private memory on probe failure
commit: 8e0d09b1232d0538066c40ed4c13086faccbdff6

Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>