aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDaniel Machon <[email protected]>2022-11-14 10:29:50 +0100
committerPaolo Abeni <[email protected]>2022-11-15 15:27:43 +0100
commit7eba4505394e21df44dcace6b5d741a8e2deea3a (patch)
treeadf6896e1ba2b2b6f5fa9259ecf647bc04deb8f2 /tools/perf/scripts/python/libxed.py
parentd9282e48c6088105a98b98153a707fdbcdbf75b1 (diff)
net: dcb: move getapptrust to separate function
This patch fixes a frame size warning, reported by kernel test robot. >> net/dcb/dcbnl.c:1230:1: warning: the frame size of 1244 bytes is >> larger than 1024 bytes [-Wframe-larger-than=] The getapptrust part of dcbnl_ieee_fill is moved to a separate function, and the selector array is now dynamically allocated, instead of stack allocated. Tested on microchip sparx5 driver. Fixes: 6182d5875c33 ("net: dcb: add new apptrust attribute") Reported-by: kernel test robot <[email protected]> Signed-off-by: Daniel Machon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions