summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-07-15 18:01:19 -0500
committerJakub Kicinski <kuba@kernel.org>2025-07-17 18:37:14 -0700
commitc2fe3b2a7c71adccff9d7f651004405fa413bf17 (patch)
tree5a95ec2f67e78545608ff1c26638993cdb44b025 /net/unix/af_unix.c
parent1e5e40f2558c07f6bc60a8983000309cc0a9d600 (diff)
net: ethernet: mtk_wed: Fix NULL vs IS_ERR() bug in mtk_wed_get_memory_region()
We recently changed this from using devm_ioremap() to using devm_ioremap_resource() and unfortunately the former returns NULL while the latter returns error pointers. The check for errors needs to be updated as well. 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/87c10dbd-df86-4971-b4f5-40ba02c076fb@sabinyo.mountain Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions