]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: modify an unsuitable log in hclge_map_ring_to_vector()
authorYonglong Liu <liuyonglong@huawei.com>
Sat, 4 Jan 2020 02:49:27 +0000 (10:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 21:26:25 +0000 (13:26 -0800)
commitfaa9bd906332111384006eaacc5511e595e0b009
tree63a082b4cbbb37287834264abe85df302aed4cf0
parent77d78a8d9624fcc65e81db23e541dbd016f9b22f
net: hns3: modify an unsuitable log in hclge_map_ring_to_vector()

When the returned vector_id less than 0, the message should print
out the vector who is getting vector index fail.

So this patch replaces vector_id with vector, and re-format the
message.

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