[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250711061725.225585-1-shaojijie@huawei.com>
Date: Fri, 11 Jul 2025 14:17:14 +0800
From: Jijie Shao <shaojijie@...wei.com>
To: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <andrew+netdev@...n.ch>, <horms@...nel.org>
CC: <shenjian15@...wei.com>, <liuyonglong@...wei.com>,
<chenhao418@...wei.com>, <jonathan.cameron@...wei.com>,
<shameerali.kolothum.thodi@...wei.com>, <salil.mehta@...wei.com>,
<arnd@...nel.org>, <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<shaojijie@...wei.com>
Subject: [PATCH V2 net-next 00/11] net: hns3: use seq_file for debugfs
Arnd reported that there are two build warning for on-stasck
buffer oversize. As Arnd's suggestion, using seq file way
to avoid the stack buffer or kmalloc buffer allocating.
---
ChangeLog:
v1 -> v2:
- Remove unused functions in advance to eliminate compilation warnings, suggested by Jakub Kicinski
- Remove unnecessary cast, suggested by Andrew Lunn
v1: https://lore.kernel.org/all/20250708130029.1310872-1-shaojijie@huawei.com/
---
Jian Shen (5):
net: hns3: clean up the build warning in debugfs by use seq file
net: hns3: use seq_file for files in queue/ in debugfs
net: hns3: use seq_file for files in tm/ in debugfs
net: hns3: use seq_file for files in tx_bd_info/ and rx_bd_info/ in
debugfs
net: hns3: remove the unused code after using seq_file
Jijie Shao (4):
net: hns3: remove tx spare info from debugfs.
net: hns3: use seq_file for files in common/ of hns3 layer
net: hns3: use seq_file for files in reg/ in debugfs
net: hns3: use seq_file for files in fd/ in debugfs
Yonglong Liu (2):
net: hns3: use seq_file for files in mac_list/ in debugfs
net: hns3: use seq_file for files in common/ of hclge layer
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 16 +-
.../ethernet/hisilicon/hns3/hns3_debugfs.c | 1044 ++++---------
.../ethernet/hisilicon/hns3/hns3_debugfs.h | 16 -
.../net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +
.../hisilicon/hns3/hns3pf/hclge_debugfs.c | 1356 +++++++----------
.../hisilicon/hns3/hns3pf/hclge_debugfs.h | 1 +
.../hisilicon/hns3/hns3pf/hclge_main.c | 2 +-
.../hisilicon/hns3/hns3pf/hclge_main.h | 4 +-
8 files changed, 859 insertions(+), 1582 deletions(-)
--
2.33.0
Powered by blists - more mailing lists