]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: rewrite a log in hclge_put_vector()
authorYonglong Liu <liuyonglong@huawei.com>
Tue, 21 Jan 2020 08:42:10 +0000 (16:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2020 10:46:21 +0000 (11:46 +0100)
commit0f53ca78f7059a22a78c4af596c27dc2ea708a2c
treefd280e42bea5561aada56f7a7fbf3c0e046f0a4e
parente9516cc0f4cb0d017bff11a56036ec26e875a4c8
net: hns3: rewrite a log in hclge_put_vector()

When gets vector fails, hclge_put_vector() should print out
the vector instead of vector_id in the log and return the wrong
vector_id to its caller.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
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