nios2-linux-ld: imx-mipi-csis.c:undefined reference to `v4l2_async_nf_cleanup'

From: kernel test robot
Date: Sat Apr 02 2022 - 11:41:59 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 88e6c0207623874922712e162e25d9dafd39661e
commit: 9958d30f38b96fb763a10d44d18ddad39127d5f4 media: Kconfig: cleanup VIDEO_DEV dependencies
date: 2 weeks ago
config: nios2-randconfig-r033-20220401 (https://download.01.org/0day-ci/archive/20220402/202204022330.h5GGZlNk-lkp@xxxxxxxxx/config)
compiler: nios2-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=9958d30f38b96fb763a10d44d18ddad39127d5f4
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 9958d30f38b96fb763a10d44d18ddad39127d5f4
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 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 >>):

nios2-linux-ld: drivers/media/platform/nxp/imx-mipi-csis.o: in function `mipi_csis_notify_bound':
imx-mipi-csis.c:(.text+0x374): undefined reference to `v4l2_create_fwnode_links_to_pad'
imx-mipi-csis.c:(.text+0x374): relocation truncated to fit: R_NIOS2_CALL26 against `v4l2_create_fwnode_links_to_pad'
nios2-linux-ld: drivers/media/platform/nxp/imx-mipi-csis.o: in function `mipi_csis_s_stream':
imx-mipi-csis.c:(.text+0x56c): undefined reference to `v4l2_subdev_call_wrappers'
nios2-linux-ld: imx-mipi-csis.c:(.text+0x570): undefined reference to `v4l2_subdev_call_wrappers'
nios2-linux-ld: imx-mipi-csis.c:(.text+0x5a4): undefined reference to `v4l2_subdev_call_wrappers'
nios2-linux-ld: imx-mipi-csis.c:(.text+0x5a8): undefined reference to `v4l2_subdev_call_wrappers'
nios2-linux-ld: imx-mipi-csis.c:(.text+0x60c): undefined reference to `v4l2_get_link_freq'
imx-mipi-csis.c:(.text+0x60c): relocation truncated to fit: R_NIOS2_CALL26 against `v4l2_get_link_freq'
nios2-linux-ld: imx-mipi-csis.c:(.text+0x6e4): undefined reference to `v4l2_subdev_call_wrappers'
nios2-linux-ld: imx-mipi-csis.c:(.text+0x6e8): undefined reference to `v4l2_subdev_call_wrappers'
nios2-linux-ld: imx-mipi-csis.c:(.text+0x788): undefined reference to `v4l2_subdev_call_wrappers'
nios2-linux-ld: imx-mipi-csis.c:(.text+0x78c): undefined reference to `v4l2_subdev_call_wrappers'
nios2-linux-ld: drivers/media/platform/nxp/imx-mipi-csis.o: in function `mipi_csis_remove':
imx-mipi-csis.c:(.text+0x874): undefined reference to `v4l2_async_nf_unregister'
imx-mipi-csis.c:(.text+0x874): relocation truncated to fit: R_NIOS2_CALL26 against `v4l2_async_nf_unregister'
>> nios2-linux-ld: imx-mipi-csis.c:(.text+0x87c): undefined reference to `v4l2_async_nf_cleanup'
imx-mipi-csis.c:(.text+0x87c): relocation truncated to fit: R_NIOS2_CALL26 against `v4l2_async_nf_cleanup'
>> nios2-linux-ld: imx-mipi-csis.c:(.text+0x884): undefined reference to `v4l2_async_unregister_subdev'
imx-mipi-csis.c:(.text+0x884): relocation truncated to fit: R_NIOS2_CALL26 against `v4l2_async_unregister_subdev'
nios2-linux-ld: drivers/media/platform/nxp/imx-mipi-csis.o: in function `mipi_csis_probe':
imx-mipi-csis.c:(.text+0xcc0): undefined reference to `v4l2_subdev_init'
imx-mipi-csis.c:(.text+0xcc0): relocation truncated to fit: R_NIOS2_CALL26 against `v4l2_subdev_init'
>> nios2-linux-ld: imx-mipi-csis.c:(.text+0xd9c): undefined reference to `v4l2_async_nf_init'
imx-mipi-csis.c:(.text+0xd9c): relocation truncated to fit: R_NIOS2_CALL26 against `v4l2_async_nf_init'
>> nios2-linux-ld: imx-mipi-csis.c:(.text+0xdd0): undefined reference to `v4l2_fwnode_endpoint_parse'
imx-mipi-csis.c:(.text+0xdd0): relocation truncated to fit: R_NIOS2_CALL26 against `v4l2_fwnode_endpoint_parse'
>> nios2-linux-ld: imx-mipi-csis.c:(.text+0xe40): undefined reference to `__v4l2_async_nf_add_fwnode_remote'
imx-mipi-csis.c:(.text+0xe40): relocation truncated to fit: R_NIOS2_CALL26 against `__v4l2_async_nf_add_fwnode_remote'
>> nios2-linux-ld: imx-mipi-csis.c:(.text+0xe70): undefined reference to `v4l2_async_subdev_nf_register'
imx-mipi-csis.c:(.text+0xe70): relocation truncated to fit: R_NIOS2_CALL26 against `v4l2_async_subdev_nf_register'
>> nios2-linux-ld: imx-mipi-csis.c:(.text+0xe80): undefined reference to `v4l2_async_register_subdev'
imx-mipi-csis.c:(.text+0xe80): additional relocation overflows omitted from the output
>> nios2-linux-ld: imx-mipi-csis.c:(.text+0xf94): undefined reference to `v4l2_async_nf_unregister'
nios2-linux-ld: imx-mipi-csis.c:(.text+0xf9c): undefined reference to `v4l2_async_nf_cleanup'
nios2-linux-ld: imx-mipi-csis.c:(.text+0xfa4): undefined reference to `v4l2_async_unregister_subdev'
nios2-linux-ld: drivers/media/platform/nxp/imx-mipi-csis.o: in function `mipi_csis_set_fmt':
imx-mipi-csis.c:(.text+0x146c): undefined reference to `v4l_bound_align_image'
nios2-linux-ld: drivers/media/platform/nxp/imx-mipi-csis.o:(.rodata+0x348): undefined reference to `v4l2_subdev_get_fwnode_pad_1_to_1'
nios2-linux-ld: drivers/media/platform/nxp/imx-mipi-csis.o:(.rodata+0x350): undefined reference to `v4l2_subdev_link_validate'

--
0-DAY CI Kernel Test Service
https://01.org/lkp