Re: [PATCH v2 1/3] net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats
From: Andrew Lunn <andrew@lunn.ch> Date: 2022-11-30 00:20:59
On Tue, Nov 29, 2022 at 01:37:59PM +0300, Daniil Tatianin wrote:
It's not very useful to copy back an empty ethtool_stats struct and
return 0 if we didn't actually have any stats. This also allows for
further simplification of this function in the future commits.
Signed-off-by: Daniil Tatianin <redacted>