diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-08-01 23:32:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-02 06:09:09 +0300 |
commit | 7b9cc73843e89ea1ac215511c13c259a70d1b4f7 (patch) | |
tree | 16918a70db9b489ff179ac8418c5079361aa7e12 /fs/jfs/xattr.c | |
parent | 13e6be2d22aea327c541c6784deba3db5ecfae8d (diff) | |
download | linux-7b9cc73843e89ea1ac215511c13c259a70d1b4f7.tar.xz |
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 <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/jfs/xattr.c')
0 files changed, 0 insertions, 0 deletions