summaryrefslogtreecommitdiffstats
path: root/LICENSES
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2023-07-11 17:08:12 +0200
committerStephen Boyd <sboyd@kernel.org>2023-07-19 14:05:24 -0700
commita29b2fccf5f2689a9637be85ff1f51c834c6fb33 (patch)
tree77ceec75516090e333749ef01f418a1dd6a563f2 /LICENSES
parent1eb8d61ac5c9c7ec56bb96d433532807509b9288 (diff)
downloadlinux-stable-a29b2fccf5f2689a9637be85ff1f51c834c6fb33.tar.gz
linux-stable-a29b2fccf5f2689a9637be85ff1f51c834c6fb33.tar.bz2
linux-stable-a29b2fccf5f2689a9637be85ff1f51c834c6fb33.zip
clk: imx93: Propagate correct error in imx93_clocks_probe()
smatch reports: drivers/clk/imx/clk-imx93.c:294 imx93_clocks_probe() error: uninitialized symbol 'base'. Indeed, in case of an error, the wrong (yet uninitialized) variable is converted to an error code and returned. Fix this by propagating the error code in the correct variable. Fixes: e02ba11b45764705 ("clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/all/9c2acd81-3ad8-485d-819e-9e4201277831@kadam.mountain Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/all/202306161533.4YDmL22b-lkp@intel.com/ Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230711150812.3562221-1-geert+renesas@glider.be Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions