Messages in this thread | | | Date | Sun, 7 Nov 2021 03:30:58 +0800 | From | kernel test robot <> | Subject | [superna9999:amlogic/v5.16/drm-meson-rework 4/8] drivers/gpu/drm/meson/meson_encoder_hdmi.c:312:5: warning: no previous prototype for function 'meson_encoder_hdmi_init' |
| |
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: arm64-randconfig-r005-20211027 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # 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=clang make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/meson/meson_encoder_hdmi.c:312:5: warning: no previous prototype for function 'meson_encoder_hdmi_init' [-Wmissing-prototypes] int meson_encoder_hdmi_init(struct meson_drm *priv) ^ drivers/gpu/drm/meson/meson_encoder_hdmi.c:312:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int meson_encoder_hdmi_init(struct meson_drm *priv) ^ static 1 warning generated.
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@lists.01.org [unhandled content-type:application/gzip] | |