]> 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)
commitdec0336aca35317a2761be53981ccad5dd7c63fe
tree505311f147290a9ee5f2590f79c39685ede62e17
parent9214fa09d16bfa422ece11604b1811b0669bf319
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: dd06c3ea524 ("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