[PATCH -next] net: ethernet: mtk_eth_soc: fix return value check in mtk_wed_add_hw()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Mon Apr 11 02:50:12 PDT 2022
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem at davemloft.net>:
On Fri, 8 Apr 2022 11:22:46 +0800 you wrote:
> If syscon_regmap_lookup_by_phandle() fails, it never return NULL pointer,
> change the check to IS_ERR().
>
> Fixes: 804775dfc288 ("net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED)")
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>
>
> [...]
Here is the summary with links:
- [-next] net: ethernet: mtk_eth_soc: fix return value check in mtk_wed_add_hw()
https://git.kernel.org/netdev/net-next/c/b559edfaf3f3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the Linux-mediatek
mailing list