[PATCH 1/2] clk: imx: imx8m: avoid memory leak

Stephen Boyd sboyd at kernel.org
Tue Jul 28 04:30:21 EDT 2020


Quoting peng.fan at nxp.com (2020-07-27 19:54:48)
> From: Peng Fan <peng.fan at nxp.com>
> 
> Use devm_kzalloc to avoid memory leak when probe fail.

Please add () to functions in commit text.

> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>



More information about the linux-arm-kernel mailing list