isl7998x.c:undefined reference to `v4l2_fwnode_endpoint_parse'

From: kernel test robot
Date: Mon Apr 25 2022 - 08:31:20 EST

tree: master
head: af2d861d4cd2a4da5137f795ee3509e6f944a25b
commit: 51ef2be546e2e480e56fdb59fdeb9a4406e8d52e media: i2c: isl7998x: Add driver for Intersil ISL7998x
date: 8 weeks ago
config: riscv-randconfig-r026-20220425 (
compiler: riscv64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add linus
git fetch --no-tags linus master
git checkout 51ef2be546e2e480e56fdb59fdeb9a4406e8d52e
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

riscv64-linux-ld: drivers/media/i2c/isl7998x.o: in function `.L0 ':
>> isl7998x.c:(.text+0xa54): undefined reference to `v4l2_fwnode_endpoint_parse'
riscv64-linux-ld: net/core/sock.o: in function `.L1089':
sock.c:(.text+0x5190): undefined reference to `__sk_defer_free_flush'

0-DAY CI Kernel Test Service