aboutsummaryrefslogtreecommitdiff
path: root/lib/test_module.c
diff options
context:
space:
mode:
authorJiaran Zhang <zhangjiaran@huawei.com>2021-09-15 21:52:08 +0800
committerDavid S. Miller <davem@davemloft.net>2021-09-20 13:28:39 +0100
commit311c0aaa9b4bb8dc65f22634e15963316b17c921 (patch)
treedea5a5eb032135f8419694854eb108cc62392bc1 /lib/test_module.c
parent91bc0d5272d3a4dc3d4fd2a74387c7e7361bbe96 (diff)
net: hns3: fix misuse vf id and vport id in some logs
vport_id include PF and VFs, vport_id = 0 means PF, other values mean VFs. So the actual vf id is equal to vport_id minus 1. Some VF print logs are actually vport, and logs of vf id actually use vport id, so this patch fixes them. Fixes: ac887be5b0fe ("net: hns3: change print level of RAS error log from warning to error") Fixes: adcf738b804b ("net: hns3: cleanup some print format warning") Signed-off-by: Jiaran Zhang <zhangjiaran@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_module.c')
0 files changed, 0 insertions, 0 deletions