Re: [PATCH] memory: renesas-rpc-if: fix platform-device leak in error path

From: Krzysztof Kozlowski
Date: Fri Mar 18 2022 - 08:53:30 EST


On 03/03/2022 19:06, Johan Hovold wrote:
> Make sure to free the flash platform device in the event that
> registration fails during probe.
>
> Fixes: ca7d8b980b67 ("memory: add Renesas RPC-IF driver")
> Cc: stable@xxxxxxxxxxxxxxx # 5.8
> Cc: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> ---
> drivers/memory/renesas-rpc-if.c | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>

It's too late for upcoming cycle, so I will pick it up after the merge
window.


Best regards,
Krzysztof