]> 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)
commitf6f959fa141d37009709f03cd4d7120b4dace5b2
treefe16b5681ee9d3d97424d9d860c3f934ff13a9fe
parentac28e71f789b49bfea7e3db03e9234972cda5552
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