2022-10-01 00:16:05

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH -next] clk: imx: scu: fix memleak on platform_device_add() fails

Quoting Lin Yujun (2022-09-13 20:32:06)
> No error handling is performed when platform_device_add()
> fails. Add error processing before return, and modified
> the return value.
>
> Fixes: 77d8f3068c63 ("clk: imx: scu: add two cells binding support")
> Signed-off-by: Lin Yujun <[email protected]>
> ---

Applied to clk-next