remoteproc: k3-r5: Ensure ret is initialised
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Fri, 8 Aug 2025 12:00:23 +0000 (13:00 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Aug 2025 17:25:56 +0000 (11:25 -0600)
commitc9cd480b5c5496b809d954424ce3554673c278d3
tree74411a3c01bfbd87369bd7a7736c664924930198
parentf780ad4be9fe84fbdd874455c7518e0576e4d845
remoteproc: k3-r5: Ensure ret is initialised

In k3_r5f_split_reset and k3_r5f_unprepare ret may not have been
assigned to before the code reaches the return ret at the function exit.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
drivers/remoteproc/ti_k3_r5f_rproc.c