Re: isl7998x.c:undefined reference to `v4l2_fwnode_endpoint_parse'

From: Randy Dunlap
Date: Mon Apr 25 2022 - 12:28:19 EST




On 4/25/22 05:30, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: af2d861d4cd2a4da5137f795ee3509e6f944a25b
> commit: 51ef2be546e2e480e56fdb59fdeb9a4406e8d52e media: i2c: isl7998x: Add driver for Intersil ISL7998x
> date: 8 weeks ago
> config: riscv-randconfig-r026-20220425 (https://download.01.org/0day-ci/archive/20220425/202204252008.EH3XUAjp-lkp@xxxxxxxxx/config)
> compiler: riscv64-linux-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=51ef2be546e2e480e56fdb59fdeb9a4406e8d52e
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> 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'

for isl7998x.c:
https://lore.kernel.org/all/20220330015652.5420-1-rdunlap@xxxxxxxxxxxxx/

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

--
~Randy