Re: [PATCH v3 3/6] drm/msm: split the main platform driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dmitry,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm/drm-next]
[cannot apply to v5.17 next-20220323]
[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/Dmitry-Baryshkov/drm-msm-rework-MDSS-drivers/20220323-172654
base:   git://anongit.freedesktop.org/drm/drm drm-next
config: nios2-randconfig-p002-20220323 (https://download.01.org/0day-ci/archive/20220323/202203232120.4EJF1VFq-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 11.2.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/5484d7bfa709bbe2cd2cbb3b9959190d7a025c16
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Dmitry-Baryshkov/drm-msm-rework-MDSS-drivers/20220323-172654
        git checkout 5484d7bfa709bbe2cd2cbb3b9959190d7a025c16
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash drivers/gpu/drm/msm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   In file included from include/linux/device/driver.h:21,
                    from include/linux/device.h:32,
                    from include/linux/acpi.h:15,
                    from include/linux/irqchip.h:14,
                    from drivers/gpu/drm/msm/msm_mdss.c:8:
>> drivers/gpu/drm/msm/msm_mdss.c:403:25: error: 'dt_match' undeclared here (not in a function); did you mean 'dr_match_t'?
     403 | MODULE_DEVICE_TABLE(of, dt_match);
         |                         ^~~~~~~~
   include/linux/module.h:244:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
     244 | extern typeof(name) __mod_##type##__##name##_device_table               \
         |               ^~~~
>> include/linux/module.h:244:21: error: '__mod_of__dt_match_device_table' aliased to undefined symbol 'dt_match'
     244 | extern typeof(name) __mod_##type##__##name##_device_table               \
         |                     ^~~~~~
   drivers/gpu/drm/msm/msm_mdss.c:403:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
     403 | MODULE_DEVICE_TABLE(of, dt_match);
         | ^~~~~~~~~~~~~~~~~~~


vim +403 drivers/gpu/drm/msm/msm_mdss.c

   390	
   391	static const struct of_device_id mdss_dt_match[] = {
   392		{ .compatible = "qcom,mdss", .data = (void *)KMS_MDP5 },
   393		{ .compatible = "qcom,msm8998-mdss", .data = (void *)KMS_DPU },
   394		{ .compatible = "qcom,qcm2290-mdss", .data = (void *)KMS_DPU },
   395		{ .compatible = "qcom,sdm845-mdss", .data = (void *)KMS_DPU },
   396		{ .compatible = "qcom,sc7180-mdss", .data = (void *)KMS_DPU },
   397		{ .compatible = "qcom,sc7280-mdss", .data = (void *)KMS_DPU },
   398		{ .compatible = "qcom,sc8180x-mdss", .data = (void *)KMS_DPU },
   399		{ .compatible = "qcom,sm8150-mdss", .data = (void *)KMS_DPU },
   400		{ .compatible = "qcom,sm8250-mdss", .data = (void *)KMS_DPU },
   401		{}
   402	};
 > 403	MODULE_DEVICE_TABLE(of, dt_match);
   404	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux