summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2023-01-17 11:02:54 +0300
committerTzung-Bi Shih <tzungbi@kernel.org>2023-01-18 05:57:56 +0300
commit6514bac4a321daaf2fdf3a116a644c77e4908f20 (patch)
tree98cbd6265e33dbbadb6c28634695b0d859bb12e2 /tools/perf/scripts/python/task-analyzer.py
parent8bb233b27fb7c11deefbe2318e75490b22cf3d1a (diff)
downloadlinux-6514bac4a321daaf2fdf3a116a644c77e4908f20.tar.xz
platform/chrome: cros_ec_proto: remove big stub objects from stack
sizeof(struct device) = 680 sizeof(struct cros_ec_dev) = 720 They tend to exceed the stack frame size limit in some specific environment which results in the following compilation error: >> drivers/platform/chrome/cros_ec_proto_test.c:2530:13: error: stack frame size (2128) exceeds limit (2048) in 'cros_ec_proto_test_get_sensor_count_legacy' Remove the big stub objects from stack. This is: $ sed -i 's/struct cros_ec_dev /static struct cros_ec_dev /' \ drivers/platform/chrome/cros_ec_proto_test.c Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20230117080254.2725536-1-tzungbi@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions