lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 8 Nov 2021 09:29:47 +0100
From:   Niklas Söderlund 
        <niklas.soderlund+renesas@...natech.se>
To:     kernel test robot <lkp@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Mauro Carvalho Chehab <mchehab@...nel.org>,
        linux-media@...r.kernel.org,
        Sakari Ailus <sakari.ailus@...ux.intel.com>
Subject: Re: [hverkuil-media-tree:zoran 37/59] csky-linux-ld:
 max96712.c:undefined reference to `v4l2_async_unregister_subdev'

Hello,

This is solved either by v4 of this MAX96712 patch (this is v3) or 
on-top by Sakari in '[1/1] max96712: Select VIDEO_V4L2'.

On 2021-11-08 14:06:14 +0800, kernel test robot wrote:
> tree:   git://linuxtv.org/hverkuil/media_tree.git zoran
> head:   7ce0d221dbb77d82ce789984dcee1fcc27d8f8f0
> commit: 118658ed37664dddbc8c0cd8006edc160528b6f7 [37/59] media: staging: max96712: Add basic support for MAX96712 GMSL2 deserializer
> config: csky-buildonly-randconfig-r005-20211104 (attached as .config)
> compiler: csky-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
>         git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git
>         git fetch --no-tags hverkuil-media-tree zoran
>         git checkout 118658ed37664dddbc8c0cd8006edc160528b6f7
>         # save the attached .config to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=csky SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
> 
> All errors (new ones prefixed by >>):
> 
>    csky-linux-ld: drivers/staging/media/max96712/max96712.o: in function `max96712_remove':
>    max96712.c:(.text+0x2e): undefined reference to `v4l2_async_unregister_subdev'
> >> csky-linux-ld: max96712.c:(.text+0x40): undefined reference to `v4l2_async_unregister_subdev'
>    csky-linux-ld: drivers/staging/media/max96712/max96712.o: in function `max96712_probe':
>    max96712.c:(.text+0x144): undefined reference to `v4l2_fwnode_endpoint_parse'
> >> csky-linux-ld: max96712.c:(.text+0x2a8): undefined reference to `v4l2_fwnode_endpoint_parse'
> >> csky-linux-ld: max96712.c:(.text+0x3a2): undefined reference to `v4l2_ctrl_handler_init_class'
> >> csky-linux-ld: max96712.c:(.text+0x3d4): undefined reference to `v4l2_ctrl_new_std'
> >> csky-linux-ld: max96712.c:(.text+0x3f0): undefined reference to `v4l2_ctrl_new_std_menu_items'
> >> csky-linux-ld: max96712.c:(.text+0x422): undefined reference to `v4l2_async_register_subdev'
> >> csky-linux-ld: max96712.c:(.text+0x43a): undefined reference to `v4l2_ctrl_handler_free'
>    csky-linux-ld: max96712.c:(.text+0x480): undefined reference to `v4l2_ctrl_handler_init_class'
>    csky-linux-ld: max96712.c:(.text+0x488): undefined reference to `v4l2_ctrl_new_std'
>    csky-linux-ld: max96712.c:(.text+0x494): undefined reference to `v4l2_ctrl_new_std_menu_items'
>    csky-linux-ld: max96712.c:(.text+0x49c): undefined reference to `v4l2_async_register_subdev'
>    csky-linux-ld: max96712.c:(.text+0x4a4): undefined reference to `v4l2_ctrl_handler_free'
> 
> Kconfig warnings: (for reference only)
>    WARNING: unmet direct dependencies detected for VIDEO_V4L2_SUBDEV_API
>    Depends on MEDIA_SUPPORT && VIDEO_DEV && MEDIA_CONTROLLER
>    Selected by
>    - VIDEO_MAX96712 && STAGING && STAGING_MEDIA && MEDIA_SUPPORT && I2C && OF_GPIO
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org



-- 
Kind Regards,
Niklas Söderlund

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ