linux/drivers/net/ethernet/airoha
Dan Carpenter 1e5e40f255 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: e27dba1951 ("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>
2025-07-17 18:36:56 -07:00
..
airoha_eth.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-10 10:10:49 -07:00
airoha_eth.h net: airoha: Initialize PPE UPDMEM source-mac table 2025-06-03 12:55:29 +02:00
airoha_npu.c net: airoha: Fix a NULL vs IS_ERR() bug in airoha_npu_run_firmware() 2025-07-17 18:36:56 -07:00
airoha_npu.h net: airoha: Add FLOW_CLS_STATS callback support 2025-05-20 20:00:51 -07:00
airoha_ppe.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-06-19 13:00:24 -07:00
airoha_ppe_debugfs.c net: airoha: Add FLOW_CLS_STATS callback support 2025-05-20 20:00:51 -07:00
airoha_regs.h net: airoha: Enable RX queues 16-31 2025-06-10 17:58:26 -07:00
Kconfig net: airoha: Add FLOW_CLS_STATS callback support 2025-05-20 20:00:51 -07:00
Makefile net: airoha: Introduce PPE debugfs support 2025-03-04 13:22:10 +01:00