[superna9999:amlogic/v5.16/drm-meson-rework 4/8] drivers/gpu/drm/meson/meson_encoder_hdmi.c:312:5: error: no previous prototype for 'meson_encoder_hdmi_init'
From: kernel test robot
Date: Sun Oct 31 2021 - 01:22:19 EST
tree: https://github.com/superna9999/linux amlogic/v5.16/drm-meson-rework
head: 828c002903e8e4b663a411c26dab3de64cc808ab
commit: c346eb228e8fbc65ce560906f3e8d85d60dbfce7 [4/8] drm/meson: split out encoder from meson_dw_hdmi
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-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/superna9999/linux/commit/c346eb228e8fbc65ce560906f3e8d85d60dbfce7
git remote add superna9999 https://github.com/superna9999/linux
git fetch --no-tags superna9999 amlogic/v5.16/drm-meson-rework
git checkout c346eb228e8fbc65ce560906f3e8d85d60dbfce7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/meson/meson_encoder_hdmi.c:312:5: error: no previous prototype for 'meson_encoder_hdmi_init' [-Werror=missing-prototypes]
312 | int meson_encoder_hdmi_init(struct meson_drm *priv)
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/meson_encoder_hdmi_init +312 drivers/gpu/drm/meson/meson_encoder_hdmi.c
311
> 312 int meson_encoder_hdmi_init(struct meson_drm *priv)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip