[PATCH] phy: qcom: Fix ret is uninitialised
Casey Connolly
casey.connolly at linaro.org
Mon Aug 18 12:31:27 CEST 2025
On Wed, 06 Aug 2025 17:55:04 +0100, Andrew Goodbody wrote:
> In qcom_snps_eusb2_phy_probe after the call to devm_clk_get if an error
> is found then ret is printed but has not been assigned to by the code.
> Decode the error from the pointer and assign it to ret.
>
> This issue was found by Smatch.
>
>
> [...]
Applied, thanks!
[1/1] phy: qcom: Fix ret is uninitialised
https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/fda7bee6468e
Best regards,
--
// Caleb (they/them)
More information about the U-Boot
mailing list