Skip to contentSkip to conversation

drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c:213:17: error: implicit declaration of function 'drm_connector_hdmi_compute_mode_clock'; did you mean 'drm_hdmi_compute_mode_clock'?

PATCH kernel test robot 1 participant 1 message May 28, 2024

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head:   62545c719e26ec9f62efab7e9582deb73265b6d0
commit: ea64761a54a25fa2c27bae99b3c72dadfaa74d3e [29/29] drm/sun4i: hdmi: Switch to HDMI connector
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240528/[email protected]/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240528/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c: In function 'sun4i_hdmi_connector_mode_valid':

>> drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c:213:17: error: implicit declaration of function 'drm_connector_hdmi_compute_mode_clock'; did you mean 'drm_hdmi_compute_mode_clock'? [-Werror=implicit-function-declaration]
     213 |                 drm_connector_hdmi_compute_mode_clock(mode, 8,
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |                 drm_hdmi_compute_mode_clock

cc1: all warnings being treated as errors

vim +213 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c

207
208 static enum drm_mode_status
209 sun4i_hdmi_connector_mode_valid(struct drm_connector *connector,
210 struct drm_display_mode *mode)
211 {
212 unsigned long long rate =

 > 213			drm_connector_hdmi_compute_mode_clock(mode, 8,

214 HDMI_COLORSPACE_RGB);
215
216 return sun4i_hdmi_connector_clock_valid(connector, mode, rate);
217 }
218

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