lkml.org 
[lkml]   [2022]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] memory: renesas-rpc-if: fix platform-device leak in error path
From
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@vger.kernel.org # 5.8
> Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---
> 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

\
 
 \ /
  Last update: 2022-03-18 13:53    [W:0.061 / U:1.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site