aboutsummaryrefslogtreecommitdiff
path: root/tools/net/ynl/lib/ynl.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-12-04 09:57:21 +0100
committerJakub Kicinski <[email protected]>2023-12-05 19:22:50 -0800
commit2ff46b9eca2bb86c364942e86fd0145d56b62e40 (patch)
tree1b40c0d149e9b92347457b20382861d35dc0f79c /tools/net/ynl/lib/ynl.py
parentf7c0e362a25f99fafa73d62a2e8c3da00cf1fc0e (diff)
net: hns3: reduce stack usage in hclge_dbg_dump_tm_pri()
This function exceeds the stack frame warning limit: drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c: In function 'hclge_dbg_dump_tm_pri': drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c:1039:1: error: the frame size of 1408 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] Use dynamic allocation for the largest stack object instead. It would be nice to rewrite this file to completely avoid the extra buffer and just use the one that was already allocated by debugfs, but that is a much larger change. Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions