]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit716342a620c2535c671f02e84c97297fdaad2a8e
tree505311f147290a9ee5f2590f79c39685ede62e17
parent994021c10246d7b5dcc72ca00c3cefd90e40e615
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: c4ff4f341df ("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