[PATCH 1/2] clk: imx: composite-8m: Less function calls in __imx8m_clk_hw_composite() after error detection

Peng Fan peng.fan at nxp.com
Sun Dec 24 19:17:27 PST 2023


> Subject: [PATCH 1/2] clk: imx: composite-8m: Less function calls in
> __imx8m_clk_hw_composite() after error detection
> 
> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Fri, 22 Dec 2023 16:48:24 +0100
> 
> The function “kfree” was called in up to three cases by the function
> “__imx8m_clk_hw_composite” during error handling even if the passed
> variables contained a null pointer.
> 
> Adjust jump targets according to the Linux coding style convention.
> 
> Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>

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


More information about the linux-arm-kernel mailing list