Re: [PATCH] soc: qcom: llcc-qcom: Fix error check for devm_memremap()
From: Markus Elfring
Date: Tue May 19 2026 - 05:40:48 EST
> 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.
Would a summary phrase like “Fix error handling in qcom_llcc_get_fw_config()”
be more appropriate?
Regards,
Markus