Messages in this thread | | | Date | Fri, 18 Mar 2022 13:53:18 +0100 | Subject | Re: [PATCH] memory: renesas-rpc-if: fix platform-device leak in error path | From | Krzysztof Kozlowski <> |
| |
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
| |