Re: [PATCH] soc: qcom: llcc-qcom: Fix error check for devm_memremap()
From: Konrad Dybcio
Date: Tue May 19 2026 - 04:21:49 EST
On 5/19/26 4:38 AM, Chen Ni wrote:
> The devm_memremap() function returns an error pointer on failure, not
> NULL. Fix the check to use IS_ERR() and return PTR_ERR() to correctly
> handle allocation failures.
>
> Fixes: ac23106a9b9a ("soc: qcom: llcc-qcom: get SCT descriptors from fw-populated memory")
> Signed-off-by: Chen Ni <nichen@xxxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad