Hi Tian, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on linus/master] [also build test WARNING on v5.11-rc2 next-20210108] [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] url: https://github.com/0day-ci/linux/commits/Tian-Tao/drm-connector-Set-the-default-callback-function-for-drm_connector_funcs/20210108-165753 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f5e6c330254ae691f6d7befe61c786eb5056007e config: powerpc64-randconfig-r004-20210108 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 9.3.0 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/0day-ci/linux/commit/37e7ae0ccb8825f7718028991d1635d60323f9dc git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Tian-Tao/drm-connector-Set-the-default-callback-function-for-drm_connector_funcs/20210108-165753 git checkout 37e7ae0ccb8825f7718028991d1635d60323f9dc # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/gpu/drm/aspeed/aspeed_gfx_out.c: In function 'aspeed_gfx_create_output': >> drivers/gpu/drm/aspeed/aspeed_gfx_out.c:39:6: warning: passing argument 3 of 'drm_connector_init' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 39 | &aspeed_gfx_connector_funcs, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_modes.h:33, from include/drm/drm_crtc.h:40, from include/drm/drm_atomic_helper.h:31, from drivers/gpu/drm/aspeed/aspeed_gfx_out.c:4: include/drm/drm_connector.h:1515:38: note: expected 'struct drm_connector_funcs *' but argument is of type 'const struct drm_connector_funcs *' 1515 | struct drm_connector_funcs *funcs, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -- drivers/gpu/drm/xlnx/zynqmp_dp.c: In function 'zynqmp_dp_drm_init': >> drivers/gpu/drm/xlnx/zynqmp_dp.c:1623:6: warning: passing argument 3 of 'drm_connector_init' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1623 | &zynqmp_dp_connector_funcs, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_modes.h:33, from include/drm/drm_crtc.h:40, from include/drm/drm_atomic_helper.h:31, from drivers/gpu/drm/xlnx/zynqmp_dp.c:12: include/drm/drm_connector.h:1515:38: note: expected 'struct drm_connector_funcs *' but argument is of type 'const struct drm_connector_funcs *' 1515 | struct drm_connector_funcs *funcs, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ vim +39 drivers/gpu/drm/aspeed/aspeed_gfx_out.c 4f2a8f5898ecd80 Joel Stanley 2019-04-03 28 4f2a8f5898ecd80 Joel Stanley 2019-04-03 29 int aspeed_gfx_create_output(struct drm_device *drm) 4f2a8f5898ecd80 Joel Stanley 2019-04-03 30 { cd8294540776f79 Daniel Vetter 2020-04-15 31 struct aspeed_gfx *priv = to_aspeed_gfx(drm); 4f2a8f5898ecd80 Joel Stanley 2019-04-03 32 int ret; 4f2a8f5898ecd80 Joel Stanley 2019-04-03 33 4f2a8f5898ecd80 Joel Stanley 2019-04-03 34 priv->connector.dpms = DRM_MODE_DPMS_OFF; 4f2a8f5898ecd80 Joel Stanley 2019-04-03 35 priv->connector.polled = 0; 4f2a8f5898ecd80 Joel Stanley 2019-04-03 36 drm_connector_helper_add(&priv->connector, 4f2a8f5898ecd80 Joel Stanley 2019-04-03 37 &aspeed_gfx_connector_helper_funcs); 4f2a8f5898ecd80 Joel Stanley 2019-04-03 38 ret = drm_connector_init(drm, &priv->connector, 4f2a8f5898ecd80 Joel Stanley 2019-04-03 @39 &aspeed_gfx_connector_funcs, --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org