Hi Melissa, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v6.4-rc3 next-20230525] [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/Melissa-Wen/drm-drm_mode_object-increase-max-objects-to-accommodate-new-color-props/20230524-062917 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230523221520.3115570-7-mwen%40igalia.com patch subject: [PATCH 06/36] drm/amd/display: add CRTC driver-specific property for gamma TF config: i386-allyesconfig compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/3d87b0dd30324e0650cd5afb9e55fd204d9ce329 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Melissa-Wen/drm-drm_mode_object-increase-max-objects-to-accommodate-new-color-props/20230524-062917 git checkout 3d87b0dd30324e0650cd5afb9e55fd204d9ce329 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/amd/amdgpu/ drivers/gpu/drm/amd/display/amdgpu_dm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202305260305.KbntIovo-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:1251:40: warning: 'drm_transfer_function_enum_list' defined but not used [-Wunused-const-variable=] 1251 | static const struct drm_prop_enum_list drm_transfer_function_enum_list[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/drm_transfer_function_enum_list +1251 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 1250 > 1251 static const struct drm_prop_enum_list drm_transfer_function_enum_list[] = { 1252 { DRM_TRANSFER_FUNCTION_DEFAULT, "Default" }, 1253 { DRM_TRANSFER_FUNCTION_SRGB, "sRGB" }, 1254 { DRM_TRANSFER_FUNCTION_BT709, "BT.709" }, 1255 { DRM_TRANSFER_FUNCTION_PQ, "PQ (Perceptual Quantizer)" }, 1256 { DRM_TRANSFER_FUNCTION_LINEAR, "Linear" }, 1257 { DRM_TRANSFER_FUNCTION_UNITY, "Unity" }, 1258 { DRM_TRANSFER_FUNCTION_HLG, "HLG (Hybrid Log Gamma)" }, 1259 { DRM_TRANSFER_FUNCTION_GAMMA22, "Gamma 2.2" }, 1260 { DRM_TRANSFER_FUNCTION_GAMMA24, "Gamma 2.4" }, 1261 { DRM_TRANSFER_FUNCTION_GAMMA26, "Gamma 2.6" }, 1262 }; 1263 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki