Hi Paloma,

kernel test robot noticed the following build errors:

[auto build test ERROR on v6.8-rc1]
[also build test ERROR on linus/master next-20240125]
[cannot apply to drm-misc/drm-misc-next]
[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/Paloma-Arellano/drm-msm-dpu-allow-dpu_encoder_helper_phys_setup_cdm-to-work-for-DP/20240126-034233
base:   v6.8-rc1
patch link:    
https://lore.kernel.org/r/20240125193834.7065-11-quic_parellan%40quicinc.com
patch subject: [PATCH 10/17] drm/msm/dp: modify dp_catalog_hw_revision to show 
major and minor val
config: arm-defconfig 
(https://download.01.org/0day-ci/archive/20240128/202401282131.j7uuvg6p-...@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git 
f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20240128/202401282131.j7uuvg6p-...@intel.com/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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202401282131.j7uuvg6p-...@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/msm/dp/dp_catalog.c:547:11: error: implicit declaration of 
>> function 'FIELD_GET' is invalid in C99 
>> [-Werror,-Wimplicit-function-declaration]
           *major = DP_HW_VERSION_MAJOR(reg_dp_hw_version);
                    ^
   drivers/gpu/drm/msm/dp/dp_catalog.c:27:34: note: expanded from macro 
'DP_HW_VERSION_MAJOR'
   #define DP_HW_VERSION_MAJOR(reg)        FIELD_GET(GENMASK(31, 28), reg)
                                           ^
   1 error generated.


vim +/FIELD_GET +547 drivers/gpu/drm/msm/dp/dp_catalog.c

   531  
   532  /**
   533   * dp_catalog_hw_revision() - retrieve DP hw revision
   534   *
   535   * @dp_catalog: DP catalog structure
   536   *
   537   * Return: void
   538   *
   539   */
   540  void dp_catalog_hw_revision(const struct dp_catalog *dp_catalog, u16 
*major, u16 *minor)
   541  {
   542          const struct dp_catalog_private *catalog = 
container_of(dp_catalog,
   543                                  struct dp_catalog_private, dp_catalog);
   544          u32 reg_dp_hw_version;
   545  
   546          reg_dp_hw_version = dp_read_ahb(catalog, REG_DP_HW_VERSION);
 > 547          *major = DP_HW_VERSION_MAJOR(reg_dp_hw_version);
   548          *minor = DP_HW_VERSION_MINOR(reg_dp_hw_version);
   549  }
   550  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to