diff options
author | Daniil Tatianin <[email protected]> | 2022-12-26 14:48:23 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-12-28 11:55:24 +0000 |
commit | 9deb1e9fb88b1120a908676fa33bdf9e2eeaefce (patch) | |
tree | 7a0c536e3fc4da92da35d515b1fa071460f63758 /scripts/gdb/linux/vmalloc.py | |
parent | 8ac718cc0e36ef4046e2d6349727fecddc13ab9c (diff) |
net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats
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 <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions