diff options
author | 2017-09-26 17:15:31 -0400 | |
---|---|---|
committer | 2017-09-26 20:06:34 -0700 | |
commit | f4344e0a48121d07cf8f69415278e84c39dbe9bf (patch) | |
tree | f6d92d396a44787aca9f245ac82181c2c819b503 /net/ipv4/tcp_fastopen.c | |
parent | Merge branch 'mlxsw-Add-router-adjacency-dpipe-table' (diff) | |
download | wireguard-linux-f4344e0a48121d07cf8f69415278e84c39dbe9bf.tar.xz wireguard-linux-f4344e0a48121d07cf8f69415278e84c39dbe9bf.zip |
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/ipv4/tcp_fastopen.c')
0 files changed, 0 insertions, 0 deletions