Hi "Michał, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm-tip/drm-tip] [cannot apply to drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next linus/master v5.19 next-20220803] [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/Micha-Winiarski/drm-cmdline-parser-Merge-negative-tests/20220804-212019 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next config: hexagon-randconfig-r001-20220804 (https://download.01.org/0day-ci/archive/20220805/202208050217.VHlt1uDZ-lkp@xxxxxxxxx/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 26dd42705c2af0b8f6e5d6cdb32c9bd5ed9524eb) 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/8a21a5872b4bbe7bcfec5bc990d182a5c32416a2 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Micha-Winiarski/drm-cmdline-parser-Merge-negative-tests/20220804-212019 git checkout 8a21a5872b4bbe7bcfec5bc990d182a5c32416a2 # 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@xxxxxxxxx> All warnings (new ones prefixed by >>): >> drivers/gpu/drm/tests/drm_cmdline_parser_test.c:72:13: warning: stack frame size (1152) exceeds limit (1024) in 'drm_cmdline_test_force_D_only_dvi' [-Wframe-larger-than] static void drm_cmdline_test_force_D_only_dvi(struct kunit *test) ^ >> drivers/gpu/drm/tests/drm_cmdline_parser_test.c:51:13: warning: stack frame size (1152) exceeds limit (1024) in 'drm_cmdline_test_force_D_only_hdmi' [-Wframe-larger-than] static void drm_cmdline_test_force_D_only_hdmi(struct kunit *test) ^ >> drivers/gpu/drm/tests/drm_cmdline_parser_test.c:389:13: warning: stack frame size (1152) exceeds limit (1024) in 'drm_cmdline_test_res_bpp_refresh_force_on_digital' [-Wframe-larger-than] static void drm_cmdline_test_res_bpp_refresh_force_on_digital(struct kunit *test) ^ 3 warnings generated. vim +/drm_cmdline_test_force_D_only_dvi +72 drivers/gpu/drm/tests/drm_cmdline_parser_test.c 9f0527d22a52ff34 Maíra Canal 2022-07-08 49 9f0527d22a52ff34 Maíra Canal 2022-07-08 50 9f0527d22a52ff34 Maíra Canal 2022-07-08 @51 static void drm_cmdline_test_force_D_only_hdmi(struct kunit *test) 9f0527d22a52ff34 Maíra Canal 2022-07-08 52 { 9f0527d22a52ff34 Maíra Canal 2022-07-08 53 struct drm_cmdline_mode mode = { }; 8a21a5872b4bbe7b Michał Winiarski 2022-08-04 54 const struct drm_connector connector_hdmi = { 8a21a5872b4bbe7b Michał Winiarski 2022-08-04 55 .connector_type = DRM_MODE_CONNECTOR_HDMIB, 8a21a5872b4bbe7b Michał Winiarski 2022-08-04 56 }; 9f0527d22a52ff34 Maíra Canal 2022-07-08 57 const char *cmdline = "D"; 9f0527d22a52ff34 Maíra Canal 2022-07-08 58 8a21a5872b4bbe7b Michał Winiarski 2022-08-04 59 KUNIT_ASSERT_TRUE(test, drm_mode_parse_command_line_for_connector(cmdline, 9f0527d22a52ff34 Maíra Canal 2022-07-08 60 &connector_hdmi, &mode)); 9f0527d22a52ff34 Maíra Canal 2022-07-08 61 KUNIT_EXPECT_FALSE(test, mode.specified); 9f0527d22a52ff34 Maíra Canal 2022-07-08 62 KUNIT_EXPECT_FALSE(test, mode.refresh_specified); 9f0527d22a52ff34 Maíra Canal 2022-07-08 63 KUNIT_EXPECT_FALSE(test, mode.bpp_specified); 9f0527d22a52ff34 Maíra Canal 2022-07-08 64 9f0527d22a52ff34 Maíra Canal 2022-07-08 65 KUNIT_EXPECT_FALSE(test, mode.rb); 9f0527d22a52ff34 Maíra Canal 2022-07-08 66 KUNIT_EXPECT_FALSE(test, mode.cvt); 9f0527d22a52ff34 Maíra Canal 2022-07-08 67 KUNIT_EXPECT_FALSE(test, mode.interlace); 9f0527d22a52ff34 Maíra Canal 2022-07-08 68 KUNIT_EXPECT_FALSE(test, mode.margins); 9f0527d22a52ff34 Maíra Canal 2022-07-08 69 KUNIT_EXPECT_EQ(test, mode.force, DRM_FORCE_ON_DIGITAL); 9f0527d22a52ff34 Maíra Canal 2022-07-08 70 } 9f0527d22a52ff34 Maíra Canal 2022-07-08 71 9f0527d22a52ff34 Maíra Canal 2022-07-08 @72 static void drm_cmdline_test_force_D_only_dvi(struct kunit *test) 9f0527d22a52ff34 Maíra Canal 2022-07-08 73 { 9f0527d22a52ff34 Maíra Canal 2022-07-08 74 struct drm_cmdline_mode mode = { }; 8a21a5872b4bbe7b Michał Winiarski 2022-08-04 75 const struct drm_connector connector_dvi = { 8a21a5872b4bbe7b Michał Winiarski 2022-08-04 76 .connector_type = DRM_MODE_CONNECTOR_DVII, 8a21a5872b4bbe7b Michał Winiarski 2022-08-04 77 }; 9f0527d22a52ff34 Maíra Canal 2022-07-08 78 const char *cmdline = "D"; 9f0527d22a52ff34 Maíra Canal 2022-07-08 79 8a21a5872b4bbe7b Michał Winiarski 2022-08-04 80 KUNIT_ASSERT_TRUE(test, drm_mode_parse_command_line_for_connector(cmdline, 9f0527d22a52ff34 Maíra Canal 2022-07-08 81 &connector_dvi, &mode)); 9f0527d22a52ff34 Maíra Canal 2022-07-08 82 KUNIT_EXPECT_FALSE(test, mode.specified); 9f0527d22a52ff34 Maíra Canal 2022-07-08 83 KUNIT_EXPECT_FALSE(test, mode.refresh_specified); 9f0527d22a52ff34 Maíra Canal 2022-07-08 84 KUNIT_EXPECT_FALSE(test, mode.bpp_specified); 9f0527d22a52ff34 Maíra Canal 2022-07-08 85 9f0527d22a52ff34 Maíra Canal 2022-07-08 86 KUNIT_EXPECT_FALSE(test, mode.rb); 9f0527d22a52ff34 Maíra Canal 2022-07-08 87 KUNIT_EXPECT_FALSE(test, mode.cvt); 9f0527d22a52ff34 Maíra Canal 2022-07-08 88 KUNIT_EXPECT_FALSE(test, mode.interlace); 9f0527d22a52ff34 Maíra Canal 2022-07-08 89 KUNIT_EXPECT_FALSE(test, mode.margins); 9f0527d22a52ff34 Maíra Canal 2022-07-08 90 KUNIT_EXPECT_EQ(test, mode.force, DRM_FORCE_ON_DIGITAL); 9f0527d22a52ff34 Maíra Canal 2022-07-08 91 } 9f0527d22a52ff34 Maíra Canal 2022-07-08 92 -- 0-DAY CI Kernel Test Service https://01.org/lkp