linux/drivers/net/pse-pd
Arnd Bergmann d12b3dc106 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: 359754013e ("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>
2025-07-10 18:05:36 -07:00
..
Kconfig net: pse-pd: Kconfig: Fix missing firmware loader config select 2024-06-21 11:29:52 +01:00
Makefile net: pse-pd: Add TI TPS23881 PSE controller driver 2024-04-18 18:27:39 -07:00
pd692x0.c net: pse-pd: pd692x0: reduce stack usage in pd692x0_setup_pi_matrix 2025-07-10 18:05:36 -07:00
pse_core.c net: pse-pd: Add support for budget evaluation strategies 2025-06-18 19:00:17 -07:00
pse_regulator.c net: pse-pd: Remove is_enabled callback from drivers 2025-01-14 13:56:32 +01:00
tps23881.c net: pse-pd: tps23881: Add support for static port priority feature 2025-06-18 19:00:18 -07:00