Hi Jani, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on next-20241105] [cannot apply to drm-xe/drm-xe-next linus/master drm-intel/for-linux-next-fixes drm-tip/drm-tip v6.12-rc6] [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/Jani-Nikula/drm-i915-display-identify-discrete-graphics/20241105-012305 base: git://anongit.freedesktop.org/drm-intel for-linux-next patch link: https://lore.kernel.org/r/e9277a5635fc02106ca69b9071928c2249323500.1730740629.git.jani.nikula%40intel.com patch subject: [PATCH 15/15] drm/i915/display: add mobile platform group config: x86_64-randconfig-123-20241105 (https://download.01.org/0day-ci/archive/20241106/202411060217.jLvmbe0Z-lkp@xxxxxxxxx/config) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241106/202411060217.jLvmbe0Z-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/202411060217.jLvmbe0Z-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/i915/display/intel_display_device.c:469:40: sparse: sparse: symbol 'snb_display' was not declared. Should it be static? drivers/gpu/drm/i915/display/intel_display_device.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.h, ...): include/linux/page-flags.h:237:46: sparse: sparse: self-comparison always evaluates to false include/linux/page-flags.h:237:46: sparse: sparse: self-comparison always evaluates to false drivers/gpu/drm/i915/display/intel_display_device.c:555:25: sparse: sparse: Initializer entry defined twice drivers/gpu/drm/i915/display/intel_display_device.c:556:25: sparse: also defined here drivers/gpu/drm/i915/display/intel_display_device.c:608:25: sparse: sparse: Initializer entry defined twice drivers/gpu/drm/i915/display/intel_display_device.c:609:25: sparse: also defined here drivers/gpu/drm/i915/display/intel_display_device.c:857:17: sparse: sparse: Initializer entry defined twice drivers/gpu/drm/i915/display/intel_display_device.c:859:17: sparse: also defined here drivers/gpu/drm/i915/display/intel_display_device.c:1065:17: sparse: sparse: Initializer entry defined twice drivers/gpu/drm/i915/display/intel_display_device.c:1070:18: sparse: also defined here drivers/gpu/drm/i915/display/intel_display_device.c:1108:17: sparse: sparse: Initializer entry defined twice drivers/gpu/drm/i915/display/intel_display_device.c:1110:18: sparse: also defined here drivers/gpu/drm/i915/display/intel_display_device.c:1346:9: sparse: sparse: Initializer entry defined twice drivers/gpu/drm/i915/display/intel_display_device.c:1348:10: sparse: also defined here drivers/gpu/drm/i915/display/intel_display_device.c:1355:9: sparse: sparse: Initializer entry defined twice drivers/gpu/drm/i915/display/intel_display_device.c:1356:10: sparse: also defined here vim +/snb_display +469 drivers/gpu/drm/i915/display/intel_display_device.c 468 > 469 const struct intel_display_device_info snb_display = { 470 .has_hotplug = 1, 471 I9XX_PIPE_OFFSETS, 472 I9XX_CURSOR_OFFSETS, 473 ILK_COLORS, 474 475 .__runtime_defaults.ip.ver = 6, 476 .__runtime_defaults.pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), 477 .__runtime_defaults.cpu_transcoder_mask = 478 BIT(TRANSCODER_A) | BIT(TRANSCODER_B), 479 .__runtime_defaults.port_mask = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) | BIT(PORT_D), /* DP A, SDVO/HDMI/DP B, HDMI/DP C/D */ 480 .__runtime_defaults.fbc_mask = BIT(INTEL_FBC_A), 481 }; 482 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki