diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-07-15 18:01:10 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-17 18:36:56 -0700 |
commit | 1e5e40f2558c07f6bc60a8983000309cc0a9d600 (patch) | |
tree | a2e205c85696e4af8512953af84a13dc37ee1361 /net/lapb/lapb_iface.c | |
parent | 687678f1565fff2cb129d74f107dbacc0b0d39f9 (diff) |
net: airoha: Fix a NULL vs IS_ERR() bug in airoha_npu_run_firmware()
The devm_ioremap_resource() function returns error pointers. It never
returns NULL. Update the check to match.
Fixes: e27dba1951ce ("net: Use of_reserved_mem_region_to_resource{_byname}() for "memory-region"")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/fc6d194e-6bf5-49ca-bc77-3fdfda62c434@sabinyo.mountain
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions