summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2019-02-20 10:32:43 +0800
committerDavid S. Miller <davem@davemloft.net>2019-02-21 16:29:04 -0800
commitf18635d52c23594259da2f741399abc6c6f41f15 (patch)
tree1d7aed611e994ced2194828d33f8f19dfd289294 /include/linux/debugobjects.h
parentdb68ca0ef7c98bb39cb193571c63b22ca99f633f (diff)
downloadcachepc-linux-f18635d52c23594259da2f741399abc6c6f41f15.tar.gz
cachepc-linux-f18635d52c23594259da2f741399abc6c6f41f15.zip
net: hns3: fix port info query issue for copper port
In original codes, for copper port which doesn't connect to phy, it always returns -EOPNOTSUPP when query port information. This patch fixes it by return the port information of MAC. Fixes: 5f373b158523 ("net: hns3: Fix speed/duplex information loss problem when executing ethtool ethx cmd of VF") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions