Re: [PATCH] clk: qcom: Return correct error code in qcom_cc_probe_by_index()

From: Bjorn Andersson
Date: Mon Jan 05 2026 - 09:48:37 EST



On Wed, 17 Dec 2025 12:13:38 +0800, Haotian Zhang wrote:
> When devm_platform_ioremap_resource() fails, it returns various
> error codes. Returning a hardcoded -ENOMEM masks the actual
> failure reason.
>
> Use PTR_ERR() to propagate the actual error code returned by
> devm_platform_ioremap_resource() instead of -ENOMEM.
>
> [...]

Applied, thanks!

[1/1] clk: qcom: Return correct error code in qcom_cc_probe_by_index()
commit: 1e07ebe744fb522983bd52a4a6148601675330c7

Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>