Re: [PATCH] phy: qcom: Fix ret is uninitialised

2025-08-18 Thread Casey Connolly
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 Smat

Re: [PATCH] phy: qcom: Fix ret is uninitialised

2025-08-10 Thread Sumit Garg
On Wed, Aug 06, 2025 at 05:55:04PM +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

[PATCH] phy: qcom: Fix ret is uninitialised

2025-08-06 Thread Andrew Goodbody
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. Signed-off-by: Andrew Goodbody --- drivers/phy/qcom/phy-qcom-snp