Re: [PATCH v11 25/26] dept: Print event context requestor's stacktrace on report

From: kernel test robot
Date: Sun Jan 28 2024 - 09:45:50 EST


Hi Byungchul,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 0dd3ee31125508cd67f7e7172247f05b7fd1753a]

url: https://github.com/intel-lab-lkp/linux/commits/Byungchul-Park/llist-Move-llist_-head-node-definition-to-types-h/20240124-200243
base: 0dd3ee31125508cd67f7e7172247f05b7fd1753a
patch link: https://lore.kernel.org/r/20240124115938.80132-26-byungchul%40sk.com
patch subject: [PATCH v11 25/26] dept: Print event context requestor's stacktrace on report
config: microblaze-allmodconfig (https://download.01.org/0day-ci/archive/20240128/202401282254.iwdPYJ9E-lkp@xxxxxxxxx/config)
compiler: microblaze-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240128/202401282254.iwdPYJ9E-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401282254.iwdPYJ9E-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

drivers/gpu/drm/tests/drm_exec_test.c: In function 'test_prepare_array':
>> drivers/gpu/drm/tests/drm_exec_test.c:171:1: warning: the frame size of 1028 bytes is larger than 1024 bytes [-Wframe-larger-than=]
171 | }
| ^


vim +171 drivers/gpu/drm/tests/drm_exec_test.c

9710631cc8f367 Christian König 2022-04-13 149
9710631cc8f367 Christian König 2022-04-13 150 static void test_prepare_array(struct kunit *test)
9710631cc8f367 Christian König 2022-04-13 151 {
0f249678fef433 Arthur Grillo 2023-07-31 152 struct drm_exec_priv *priv = test->priv;
9710631cc8f367 Christian König 2022-04-13 153 struct drm_gem_object gobj1 = { };
9710631cc8f367 Christian König 2022-04-13 154 struct drm_gem_object gobj2 = { };
9710631cc8f367 Christian König 2022-04-13 155 struct drm_gem_object *array[] = { &gobj1, &gobj2 };
9710631cc8f367 Christian König 2022-04-13 156 struct drm_exec exec;
9710631cc8f367 Christian König 2022-04-13 157 int ret;
9710631cc8f367 Christian König 2022-04-13 158
0f249678fef433 Arthur Grillo 2023-07-31 159 drm_gem_private_object_init(priv->drm, &gobj1, PAGE_SIZE);
0f249678fef433 Arthur Grillo 2023-07-31 160 drm_gem_private_object_init(priv->drm, &gobj2, PAGE_SIZE);
9710631cc8f367 Christian König 2022-04-13 161
9710631cc8f367 Christian König 2022-04-13 162 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT);
9710631cc8f367 Christian König 2022-04-13 163 drm_exec_until_all_locked(&exec)
9710631cc8f367 Christian König 2022-04-13 164 ret = drm_exec_prepare_array(&exec, array, ARRAY_SIZE(array),
9710631cc8f367 Christian König 2022-04-13 165 1);
9710631cc8f367 Christian König 2022-04-13 166 KUNIT_EXPECT_EQ(test, ret, 0);
9710631cc8f367 Christian König 2022-04-13 167 drm_exec_fini(&exec);
806fd6d005ad7a Danilo Krummrich 2023-08-10 168
806fd6d005ad7a Danilo Krummrich 2023-08-10 169 drm_gem_private_object_fini(&gobj1);
806fd6d005ad7a Danilo Krummrich 2023-08-10 170 drm_gem_private_object_fini(&gobj2);
9710631cc8f367 Christian König 2022-04-13 @171 }
9710631cc8f367 Christian König 2022-04-13 172

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki