tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: d8e87774068af213ab5b058b1b114dc397b577aa commit: 45b64fd9f7ae2cce27f85f7f0a7b1fcdd08d06b4 [5631/6155] drm/fb-helper: Remove unnecessary include statements config: s390-randconfig-r021-20221107 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 7aa90b21b453d1ca52fdfccfd7e01e61d9e5b1f1) 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 s390 cross compiling tool for clang build # apt-get install binutils-s390x-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=45b64fd9f7ae2cce27f85f7f0a7b1fcdd08d06b4 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 45b64fd9f7ae2cce27f85f7f0a7b1fcdd08d06b4 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash drivers/gpu/drm/hisilicon/hibmc/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c:75:8: error: call to undeclared function 'readl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] reg = readl(priv->mmio + HIBMC_DISPLAY_CONTROL_HISILE); ^ >> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c:80:2: error: call to undeclared function 'writel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] writel(reg, priv->mmio + HIBMC_DISPLAY_CONTROL_HISILE); ^ 2 errors generated. vim +/readl +75 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c 5294967f4ae4b3 Rongrong Zou 2016-11-16 66 5294967f4ae4b3 Rongrong Zou 2016-11-16 67 static void hibmc_encoder_mode_set(struct drm_encoder *encoder, 5294967f4ae4b3 Rongrong Zou 2016-11-16 68 struct drm_display_mode *mode, 5294967f4ae4b3 Rongrong Zou 2016-11-16 69 struct drm_display_mode *adj_mode) 5294967f4ae4b3 Rongrong Zou 2016-11-16 70 { 5294967f4ae4b3 Rongrong Zou 2016-11-16 71 u32 reg; 5294967f4ae4b3 Rongrong Zou 2016-11-16 72 struct drm_device *dev = encoder->dev; c7a399271de0a3 Tian Tao 2020-09-28 73 struct hibmc_drm_private *priv = to_hibmc_drm_private(dev); 5294967f4ae4b3 Rongrong Zou 2016-11-16 74 5294967f4ae4b3 Rongrong Zou 2016-11-16 @75 reg = readl(priv->mmio + HIBMC_DISPLAY_CONTROL_HISILE); 5294967f4ae4b3 Rongrong Zou 2016-11-16 76 reg |= HIBMC_DISPLAY_CONTROL_FPVDDEN(1); 5294967f4ae4b3 Rongrong Zou 2016-11-16 77 reg |= HIBMC_DISPLAY_CONTROL_PANELDATE(1); 5294967f4ae4b3 Rongrong Zou 2016-11-16 78 reg |= HIBMC_DISPLAY_CONTROL_FPEN(1); 5294967f4ae4b3 Rongrong Zou 2016-11-16 79 reg |= HIBMC_DISPLAY_CONTROL_VBIASEN(1); 5294967f4ae4b3 Rongrong Zou 2016-11-16 @80 writel(reg, priv->mmio + HIBMC_DISPLAY_CONTROL_HISILE); 5294967f4ae4b3 Rongrong Zou 2016-11-16 81 } 5294967f4ae4b3 Rongrong Zou 2016-11-16 82 :::::: The code at line 75 was first introduced by commit :::::: 5294967f4ae4b3fa06c6776ee65bb6697b56097e drm/hisilicon/hibmc: Add support for VDAC :::::: TO: Rongrong Zou :::::: CC: Rongrong Zou -- 0-DAY CI Kernel Test Service https://01.org/lkp