diff options
| author | Vivien Didelot <[email protected]> | 2017-09-26 17:15:31 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-09-26 20:06:34 -0700 |
| commit | f4344e0a48121d07cf8f69415278e84c39dbe9bf (patch) | |
| tree | f6d92d396a44787aca9f245ac82181c2c819b503 /tools/perf/scripts/python/stackcollapse.py | |
| parent | f6fc5b494d7b10d61ef82c416d4e963cba56f1a5 (diff) | |
net: dsa: return -ENODEV is there is no slave PHY
Instead of returning -EOPNOTSUPP when a slave device has no PHY,
directly return -ENODEV as ethtool and phylib do.
Signed-off-by: Vivien Didelot <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions