diff options
author | Arnd Bergmann <arnd@arndb.de> | 2025-07-09 17:32:04 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-10 18:05:36 -0700 |
commit | d12b3dc106090b358fb67b7c0c717a0884327ddf (patch) | |
tree | 2305c156663dbad6d9211f36631bfa6da9be4b18 /scripts/lib/kdoc/kdoc_parser.py | |
parent | acd7c710f76a9cbb06d1ea6e9889df1781469d6d (diff) |
net: pse-pd: pd692x0: reduce stack usage in pd692x0_setup_pi_matrix
The pd692x0_manager array in this function is really too big to fit on the
stack, though this never triggered a warning until a recent patch made
it slightly bigger:
drivers/net/pse-pd/pd692x0.c: In function 'pd692x0_setup_pi_matrix':
drivers/net/pse-pd/pd692x0.c:1210:1: error: the frame size of 1584 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]
Change the function to dynamically allocate the array here.
Fixes: 359754013e6a ("net: pse-pd: pd692x0: Add support for PSE PI priority feature")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20250709153210.1920125-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions