[drm-misc:drm-misc-next 1/2] drivers/gpu/drm/selftests/test-drm_plane_helper.c:76:5: warning: stack frame size (1136) exceeds limit (1024) in 'igt_check_plane_state'
From: kernel test robot <hidden>
Date: 2021-12-21 05:07:49
Also in:
lkml, oe-kbuild-all
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 521d459b1935628a7caa0753429f880dae2dbfc9 commit: 943e6a8beeac1b676265f2dd81a69d7bede5e41d [1/2] mock a drm_plane in igt_check_plane_state to make the test more robust config: arm-randconfig-r001-20211220 (https://download.01.org/0day-ci/archive/20211221/202112211210.kJg5QWU6-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 555eacf75f21cd1dfc6363d73ad187b730349543) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc git fetch --no-tags drm-misc drm-misc-next git checkout 943e6a8beeac1b676265f2dd81a69d7bede5e41d # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/drm/selftests/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All warnings (new ones prefixed by >>):
quoted
drivers/gpu/drm/selftests/test-drm_plane_helper.c:76:5: warning: stack frame size (1136) exceeds limit (1024) in 'igt_check_plane_state' [-Wframe-larger-than]
int igt_check_plane_state(void *ignored)
^
1 warning generated.
vim +/igt_check_plane_state +76 drivers/gpu/drm/selftests/test-drm_plane_helper.c
7420e04963587d drivers/gpu/drm/selftests/test-drm-helper.c Maarten Lankhorst 2018-05-03 75
e51767279f1157 drivers/gpu/drm/selftests/test-drm_plane_helper.c Alexandru Gheorghe 2018-10-19 @76 int igt_check_plane_state(void *ignored)
:::::: The code at line 76 was first introduced by commit
:::::: e51767279f11571b112dbeaef2628968c62f90a6 drm/selftest: Refactor test-drm_plane_helper
:::::: TO: Alexandru Gheorghe [off-list ref]
:::::: CC: Alexandru Gheorghe [off-list ref]
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org