Re: [PATCH v5 11/11] drm/msm/dp: drop the msm_dp_catalog module

From: kernel test robot
Date: Sun Dec 22 2024 - 20:52:57 EST


Hi Dmitry,

kernel test robot noticed the following build errors:

[auto build test ERROR on c9261bcc1546a564407513e148c35a79a58bc2b9]

url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-dp-split-MMSS_DP_DSC_DTO-register-write-to-a-separate-function/20241223-041635
base: c9261bcc1546a564407513e148c35a79a58bc2b9
patch link: https://lore.kernel.org/r/20241222-fd-dp-audio-fixup-v5-11-370f09492cf6%40linaro.org
patch subject: [PATCH v5 11/11] drm/msm/dp: drop the msm_dp_catalog module
config: sparc-allmodconfig (https://download.01.org/0day-ci/archive/20241223/202412230903.RMun9kc4-lkp@xxxxxxxxx/config)
compiler: sparc64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241223/202412230903.RMun9kc4-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412230903.RMun9kc4-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

drivers/gpu/drm/msm/dp/dp_panel.c: In function 'msm_dp_read_link':
>> drivers/gpu/drm/msm/dp/dp_panel.c:33:16: error: implicit declaration of function 'readl_relaxed' [-Wimplicit-function-declaration]
33 | return readl_relaxed(panel->link_base + offset);
| ^~~~~~~~~~~~~
drivers/gpu/drm/msm/dp/dp_panel.c: In function 'msm_dp_write_link':
>> drivers/gpu/drm/msm/dp/dp_panel.c:43:9: error: implicit declaration of function 'writel' [-Wimplicit-function-declaration]
43 | writel(data, panel->link_base + offset);
| ^~~~~~


vim +/readl_relaxed +33 drivers/gpu/drm/msm/dp/dp_panel.c

30
31 static inline u32 msm_dp_read_link(struct msm_dp_panel_private *panel, u32 offset)
32 {
> 33 return readl_relaxed(panel->link_base + offset);
34 }
35
36 static inline void msm_dp_write_link(struct msm_dp_panel_private *panel,
37 u32 offset, u32 data)
38 {
39 /*
40 * To make sure link reg writes happens before any other operation,
41 * this function uses writel() instread of writel_relaxed()
42 */
> 43 writel(data, panel->link_base + offset);
44 }
45

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