[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221001000638.2E6C8C433D6@smtp.kernel.org>
Date: Fri, 30 Sep 2022 17:06:36 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Lin Yujun <linyujun809@...wei.com>, abelvesa@...nel.org,
aisheng.dong@....com, festevam@...il.com, kernel@...gutronix.de,
linux-imx@....com, mturquette@...libre.com, s.hauer@...gutronix.de,
shawnguo@...nel.org
Cc: linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
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 <linyujun809@...wei.com>
> ---
Reviewed-by: Stephen Boyd <sboyd@...nel.org>
Powered by blists - more mailing lists