net: hns3: add more string spaces for dumping packets number of queue info in debugfs
authorJie Wang <wangjie125@huawei.com>
Wed, 27 Oct 2021 12:11:47 +0000 (20:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Oct 2021 13:47:33 +0000 (14:47 +0100)
commit6754614a787cbcbf87bae8a75619c24a33ea6791
tree505311f147290a9ee5f2590f79c39685ede62e17
parent2a21dab594a98c338c4bfbc31864cbca15888549
net: hns3: add more string spaces for dumping packets number of queue info in debugfs

As the width of packets number registers is 32 bits, they needs at most
10 characters for decimal data printing, but now the string spaces is not
enough, so this patch fixes it.

Fixes: e44c495d95e ("net: hns3: refactor queue info of debugfs")
Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c