mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-28 20:03:05 +00:00
clk: imx: composite-8m: Less function calls in __imx8m_clk_hw_composite() after error detection
[ Upstream commitfed6bf52c8] 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:8f32e9dd09("clk: imx: composite-8m: Enable gate clk with mcore_booted") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c2ee6de22d
commit
554c590d22
1 changed files with 7 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue