[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202209110709.ZO1yJeyE-lkp@intel.com>
Date: Sun, 11 Sep 2022 07:09:08 +0800
From: kernel test robot <lkp@...el.com>
To: Maíra Canal <mairacanal@...eup.net>,
Isabella Basso <isabbasso@...eup.net>, magalilemes00@...il.com,
tales.aparecida@...il.com, mwen@...lia.com, andrealmeid@...eup.net,
siqueirajordao@...eup.net, Trevor Woerner <twoerner@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
David Airlie <airlied@...ux.ie>,
Javier Martinez Canillas <javierm@...hat.com>,
David Gow <davidgow@...gle.com>, brendanhiggins@...gle.com,
Arthur Grillo <arthur.grillo@....br>,
michal.winiarski@...el.com,
José Expósito <jose.exposito89@...il.com>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Maxime Ripard <maxime@...no.tech>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
Maíra Canal <mairacanal@...eup.net>,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
kunit-dev@...glegroups.com
Subject: Re: [PATCH v4 1/2] drm/tests: Split drm_framebuffer_create_test into
parameterized tests
Hi Maíra,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm-misc/drm-misc-next]
[also build test WARNING on next-20220909]
[cannot apply to linus/master v6.0-rc4]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ma-ra-Canal/drm-tests-Split-drm_framebuffer_create_test-into-parameterized-tests/20220911-054430
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
config: hexagon-randconfig-r045-20220911
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 1546df49f5a6d09df78f569e4137ddb365a3e827)
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
# https://github.com/intel-lab-lkp/linux/commit/e0c8f1f60b840664db2c1841051ef04df6b47b51
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Ma-ra-Canal/drm-tests-Split-drm_framebuffer_create_test-into-parameterized-tests/20220911-054430
git checkout e0c8f1f60b840664db2c1841051ef04df6b47b51
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/tests/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/tests/drm_framebuffer_test.c:333:12: warning: stack frame size (1080) exceeds limit (1024) in 'drm_framebuffer_test_init' [-Wframe-larger-than]
static int drm_framebuffer_test_init(struct kunit *test)
^
1 warning generated.
vim +/drm_framebuffer_test_init +333 drivers/gpu/drm/tests/drm_framebuffer_test.c
332
> 333 static int drm_framebuffer_test_init(struct kunit *test)
334 {
335 struct drm_device *mock;
336
337 mock = kunit_kzalloc(test, sizeof(*mock), GFP_KERNEL);
338 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, mock);
339
340 mock->mode_config = (struct drm_mode_config) {
341 .min_width = MIN_WIDTH,
342 .max_width = MAX_WIDTH,
343 .min_height = MIN_HEIGHT,
344 .max_height = MAX_HEIGHT,
345 .funcs = &mock_config_funcs,
346 };
347
348 test->priv = mock;
349 return 0;
350 }
351
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (116721 bytes)
Powered by blists - more mailing lists