]> Gentwo Git Trees - linux/.git/commit
remoteproc: qcom: pas: Fix a couple NULL vs IS_ERR() bugs
authorDan Carpenter <dan.carpenter@linaro.org>
Sat, 29 Nov 2025 14:51:00 +0000 (17:51 +0300)
committerBjorn Andersson <andersson@kernel.org>
Sat, 29 Nov 2025 20:18:23 +0000 (14:18 -0600)
commite7839f773eef2072144fc858b4456aa346fcd665
tree22d8a843afb58541351d689790e80752a1e1a3b2
parent5e6fee736ee0d85acd74f955cab0110b15de4d11
remoteproc: qcom: pas: Fix a couple NULL vs IS_ERR() bugs

The devm_ioremap_resource_wc() function never returns NULL, it returns
error pointers.  Update the checking to match.

Fixes: c70b9d5fdcd7 ("remoteproc: qcom: Use of_reserved_mem_region_* functions for "memory-region"")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/0599691acc394d9390da8fa0b5de3399b132b187.1764427595.git.dan.carpenter@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/remoteproc/qcom_q6v5_pas.c