Re: [PATCH net] net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()

From: patchwork-bot+netdevbpf
Date: Thu Jun 06 2024 - 07:40:41 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Wed, 5 Jun 2024 11:47:43 +0800 you wrote:
> Clang static checker (scan-build) warning:
> net/ethtool/ioctl.c:line 2233, column 2
> Called function pointer is null (null dereference).
>
> Return '-EOPNOTSUPP' when 'ops->get_ethtool_phy_stats' is NULL to fix
> this typo error.
>
> [...]

Here is the summary with links:
- [net] net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()
https://git.kernel.org/netdev/net/c/0dcc53abf58d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html