aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2021-09-28 08:58:34 +0000
committerDavid S. Miller <[email protected]>2021-09-28 12:31:47 +0000
commitc894b51e2a23c8c00acb3cea5045c5b70691e790 (patch)
tree83683cac58dbef41736965599acd4fb68bc2d067 /net/unix/af_unix.c
parentnet: mdio: mscc-miim: Fix the mdio controller (diff)
downloadkernel-c894b51e2a23c8c00acb3cea5045c5b70691e790.tar.gz
kernel-c894b51e2a23c8c00acb3cea5045c5b70691e790.zip
net: hns3: fix hclge_dbg_dump_tm_pg() stack usage
This function copies strings around between multiple buffers including a large on-stack array that causes a build warning on 32-bit systems: drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c: In function 'hclge_dbg_dump_tm_pg': drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c:782:1: error: the frame size of 1424 bytes is larger than 1400 bytes [-Werror=frame-larger-than=] The function can probably be cleaned up a lot, to go back to printing directly into the output buffer, but dynamically allocating the structure is a simpler workaround for now. Fixes: 04d96139ddb3 ("net: hns3: refine function hclge_dbg_dump_tm_pri()") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions