* [linux-next:master 6949/9472] drivers/gpu/drm/xlnx/zynqmp_dp.c:335:9: error: implicit declaration of function 'writel'
@ 2022-07-12 7:04 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-12 7:04 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 4112a8699ae2eac797415b9be1d7901b3f79e772
commit: 73289afe03619bac585b69f563d0bb9a52e67722 [6949/9472] drm: Remove linux/fb.h from drm_crtc.h
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20220712/202207121410.tRazSVci-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.3.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=73289afe03619bac585b69f563d0bb9a52e67722
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 73289afe03619bac585b69f563d0bb9a52e67722
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
Note: the linux-next/master HEAD 4112a8699ae2eac797415b9be1d7901b3f79e772 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
drivers/gpu/drm/xlnx/zynqmp_dp.c: In function 'zynqmp_dp_write':
>> drivers/gpu/drm/xlnx/zynqmp_dp.c:335:9: error: implicit declaration of function 'writel' [-Werror=implicit-function-declaration]
335 | writel(val, dp->iomem + offset);
| ^~~~~~
drivers/gpu/drm/xlnx/zynqmp_dp.c: In function 'zynqmp_dp_read':
>> drivers/gpu/drm/xlnx/zynqmp_dp.c:340:16: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration]
340 | return readl(dp->iomem + offset);
| ^~~~~
cc1: some warnings being treated as errors
vim +/writel +335 drivers/gpu/drm/xlnx/zynqmp_dp.c
d76271d22694e8 Hyun Kwon 2018-07-07 332
d76271d22694e8 Hyun Kwon 2018-07-07 333 static void zynqmp_dp_write(struct zynqmp_dp *dp, int offset, u32 val)
d76271d22694e8 Hyun Kwon 2018-07-07 334 {
d76271d22694e8 Hyun Kwon 2018-07-07 @335 writel(val, dp->iomem + offset);
d76271d22694e8 Hyun Kwon 2018-07-07 336 }
d76271d22694e8 Hyun Kwon 2018-07-07 337
d76271d22694e8 Hyun Kwon 2018-07-07 338 static u32 zynqmp_dp_read(struct zynqmp_dp *dp, int offset)
d76271d22694e8 Hyun Kwon 2018-07-07 339 {
d76271d22694e8 Hyun Kwon 2018-07-07 @340 return readl(dp->iomem + offset);
d76271d22694e8 Hyun Kwon 2018-07-07 341 }
d76271d22694e8 Hyun Kwon 2018-07-07 342
:::::: The code at line 335 was first introduced by commit
:::::: d76271d22694e874ed70791702db9252ffe96a4c drm: xlnx: DRM/KMS driver for Xilinx ZynqMP DisplayPort Subsystem
:::::: TO: Hyun Kwon <hyun.kwon@xilinx.com>
:::::: CC: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-12 7:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-12 7:04 [linux-next:master 6949/9472] drivers/gpu/drm/xlnx/zynqmp_dp.c:335:9: error: implicit declaration of function 'writel' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox