In the Linux kernel, the following vulnerability has been resolved:
net: ethtool: fix the error condition in ethtoolgetphystatsethtool()
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->getethtoolphy_stats' is NULL to fix this typo error.