clk: imx: composite-8m: Less function calls in __imx8m_clk_hw_composite() after error detection
[ Upstream commit fed6bf52 ] 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@users.sourceforge.net> Reviewed-by:
Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/147ca1e6-69f3-4586-b5b3-b69f9574a862@web.de Signed-off-by:
Abel Vesa <abel.vesa@linaro.org> Stable-dep-of: 8f32e9dd ("clk: imx: composite-8m: Enable gate clk with mcore_booted") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment