]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add comments for hclge_dbg_fill_content()
authorHao Chen <chenhao288@hisilicon.com>
Fri, 3 Dec 2021 09:20:56 +0000 (17:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Dec 2021 11:00:59 +0000 (11:00 +0000)
commit8354af67517429d2d2119d7317a3c2b48913136f
treee2d8c81a11ff91e550f17a06ddffa7610252393a
parent38208a73e6a4ace37691c2d67e98de6e98196829
net: hns3: add comments for hclge_dbg_fill_content()

When we use hclge_dbg_fill_content() to fill contents with
specific format according to struct hclge_dbg_item *items,
it may cause content cover due to unreasonable items.

So add comments to explain how to avoid it.

Signed-off-by: Hao Chen <chenhao288@hisilicon.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c