summaryrefslogtreecommitdiff
path: root/net/dsa/dsa_priv.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-09-26 17:15:31 -0400
committerDavid S. Miller <davem@davemloft.net>2017-09-26 20:06:34 -0700
commitf4344e0a48121d07cf8f69415278e84c39dbe9bf (patch)
treef6d92d396a44787aca9f245ac82181c2c819b503 /net/dsa/dsa_priv.h
parentf6fc5b494d7b10d61ef82c416d4e963cba56f1a5 (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 <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 'net/dsa/dsa_priv.h')
0 files changed, 0 insertions, 0 deletions