]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: print out speed info when parsing speed fails
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 28 May 2020 13:48:19 +0000 (21:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 23:39:04 +0000 (16:39 -0700)
commit10dbb143af5f65afbe295eb901e5572eb4302d0f
treefe16b5681ee9d3d97424d9d860c3f934ff13a9fe
parent55b14ff297581018ca72270f297640d92ceceecf
net: hns3: print out speed info when parsing speed fails

When calling hclge_parse_speed() fails, printing out the speed is
helpful for debugging.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c