tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 62a4ddcb79e073465f21c5cf84d80a2f22820c39 commit: 255490f9150da7c6dabe468f3a877b92fd0f02c1 [1/4] drm: Drop drm_edid.h from drm_crtc.h config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220622/202206222209.bTdAT1Bp-lkp@xxxxxxxxx/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc git fetch --no-tags drm-misc drm-misc-next git checkout 255490f9150da7c6dabe468f3a877b92fd0f02c1 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/gpu/drm/hyperv/hyperv_drm_modeset.c: In function 'hyperv_connector_get_modes': >> drivers/gpu/drm/hyperv/hyperv_drm_modeset.c:58:17: error: implicit declaration of function 'drm_add_modes_noedid' [-Werror=implicit-function-declaration] 58 | count = drm_add_modes_noedid(connector, | ^~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/hyperv/hyperv_drm_modeset.c:61:9: error: implicit declaration of function 'drm_set_preferred_mode'; did you mean 'drm_mm_reserve_node'? [-Werror=implicit-function-declaration] 61 | drm_set_preferred_mode(connector, hv->preferred_width, | ^~~~~~~~~~~~~~~~~~~~~~ | drm_mm_reserve_node cc1: some warnings being treated as errors vim +/drm_add_modes_noedid +58 drivers/gpu/drm/hyperv/hyperv_drm_modeset.c 76c56a5affeba1 Deepak Rawat 2021-05-27 52 76c56a5affeba1 Deepak Rawat 2021-05-27 53 static int hyperv_connector_get_modes(struct drm_connector *connector) 76c56a5affeba1 Deepak Rawat 2021-05-27 54 { 76c56a5affeba1 Deepak Rawat 2021-05-27 55 struct hyperv_drm_device *hv = to_hv(connector->dev); 76c56a5affeba1 Deepak Rawat 2021-05-27 56 int count; 76c56a5affeba1 Deepak Rawat 2021-05-27 57 76c56a5affeba1 Deepak Rawat 2021-05-27 @58 count = drm_add_modes_noedid(connector, 76c56a5affeba1 Deepak Rawat 2021-05-27 59 connector->dev->mode_config.max_width, 76c56a5affeba1 Deepak Rawat 2021-05-27 60 connector->dev->mode_config.max_height); 76c56a5affeba1 Deepak Rawat 2021-05-27 @61 drm_set_preferred_mode(connector, hv->preferred_width, 76c56a5affeba1 Deepak Rawat 2021-05-27 62 hv->preferred_height); 76c56a5affeba1 Deepak Rawat 2021-05-27 63 76c56a5affeba1 Deepak Rawat 2021-05-27 64 return count; 76c56a5affeba1 Deepak Rawat 2021-05-27 65 } 76c56a5affeba1 Deepak Rawat 2021-05-27 66 :::::: The code at line 58 was first introduced by commit :::::: 76c56a5affeba1e163b66b9d8cc192e6154466f0 drm/hyperv: Add DRM driver for hyperv synthetic video device :::::: TO: Deepak Rawat <drawat.floss@xxxxxxxxx> :::::: CC: Deepak Rawat <drawat.floss@xxxxxxxxx> -- 0-DAY CI Kernel Test Service https://01.org/lkp