diff options
| author | Arnd Bergmann <[email protected]> | 2025-07-09 15:32:04 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-11 01:05:36 +0000 |
| commit | d12b3dc106090b358fb67b7c0c717a0884327ddf (patch) | |
| tree | 2305c156663dbad6d9211f36631bfa6da9be4b18 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | Merge branch 'ethtool-rss-report-which-fields-are-configured-for-hashing' (diff) | |
| download | kernel-d12b3dc106090b358fb67b7c0c717a0884327ddf.tar.gz kernel-d12b3dc106090b358fb67b7c0c717a0884327ddf.zip | |
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 <[email protected]>
Reviewed-by: Kory Maincent <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
