]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: expand buffer len for some debugfs command
authorGuangbin Huang <huangguangbin2@huawei.com>
Wed, 27 Oct 2021 12:11:48 +0000 (20:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Oct 2021 13:47:33 +0000 (14:47 +0100)
commit5eaac914ede48ab4b12168f383be0c3dfc69b197
tree234b87791cb280c873976c9cc45c8c443bc04460
parent716342a620c2535c671f02e84c97297fdaad2a8e
net: hns3: expand buffer len for some debugfs command

The specified buffer length for three debugfs files fd_tcam, uc and tqp
is not enough for their maximum needs, so this patch fixes them.

Fixes: 1f6b6d623035 ("net: hns3: refactor dump fd tcam of debugfs")
Fixes: e83704439408 ("net: hns3: refactor dump mac list of debugfs")
Fixes: c21cff3c45a6 ("net: hns3: refactor dump reg of debugfs")
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