aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVivien Didelot <[email protected]>2017-08-01 16:32:31 -0400
committerDavid S. Miller <[email protected]>2017-08-01 20:09:09 -0700
commit7b9cc73843e89ea1ac215511c13c259a70d1b4f7 (patch)
tree16918a70db9b489ff179ac8418c5079361aa7e12 /tools/perf/scripts/python
parent13e6be2d22aea327c541c6784deba3db5ecfae8d (diff)
net: dsa: PHY device is mandatory for EEE
The port's PHY and MAC are both implied in EEE. The current code does not call the PHY operations if the related device is NULL. Change that by returning -ENODEV if there's no PHY device attached to the interface. 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')
0 files changed, 0 insertions, 0 deletions