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] [thread-next>] [day] [month] [year] [list]
Message-ID: <YXk5uK9eqMT0dPhE@oden.dyn.berto.se>
Date:   Wed, 27 Oct 2021 13:36:24 +0200
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,
        Sakari Ailus <sakari.ailus@...ux.intel.com>
Subject: Re: [sailus-media-tree:master 1/5] max96712.c:undefined reference to
 `v4l2_async_unregister_subdev'

Hi Sakari,

What would be the best fix for this do you think adding 'depends on 
VIDEO_DEV' to VIDEO_MAX96712 is the right path? I tested it and it 
solves this problem but not sure if it's the correct solution.

On 2021-10-27 18:03:25 +0800, kernel test robot wrote:
> tree:   git://linuxtv.org/sailus/media_tree.git master
> head:   dad71f55b69025a58cc54db95ed1a9e8cedbb08e
> commit: d7fb3f13fef118db0598eab49b915f23f943511e [1/5] media: staging: max96712: Add basic support for MAX96712 GMSL2 deserializer
> config: m68k-randconfig-r005-20211027 (attached as .config)
> compiler: m68k-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 sailus-media-tree git://linuxtv.org/sailus/media_tree.git
>         git fetch --no-tags sailus-media-tree master
>         git checkout d7fb3f13fef118db0598eab49b915f23f943511e
>         # 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=m68k 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 >>):
> 
>    m68k-linux-ld: section .rodata VMA [0000000000001000,00000000005b1f17] overlaps section .text VMA [0000000000000400,0000000000653bbf]
>    m68k-linux-ld: arch/m68k/kernel/time.o: in function `rtc_ioctl':
>    time.c:(.text+0xe4): undefined reference to `mach_set_rtc_pll'
>    m68k-linux-ld: time.c:(.text+0xa2): undefined reference to `mach_get_rtc_pll'
>    m68k-linux-ld: time.c:(.text+0x120): undefined reference to `mach_set_rtc_pll'
>    m68k-linux-ld: arch/m68k/kernel/machine_kexec.o: in function `machine_kexec':
>    machine_kexec.c:(.text+0x136): undefined reference to `m68k_mmutype'
>    m68k-linux-ld: machine_kexec.c:(.text+0x13e): undefined reference to `m68k_cputype'
>    m68k-linux-ld: arch/m68k/kernel/relocate_kernel.o:(.m68k_fixup+0x0): undefined reference to `M68K_FIXUP_MEMOFFSET'
>    m68k-linux-ld: arch/m68k/kernel/relocate_kernel.o:(.m68k_fixup+0x8): undefined reference to `M68K_FIXUP_MEMOFFSET'
>    m68k-linux-ld: arch/m68k/kernel/uboot.o: in function `process_uboot_commandline':
>    uboot.c:(.init.text+0x32): undefined reference to `_init_sp'
>    m68k-linux-ld: drivers/staging/media/max96712/max96712.o: in function `max96712_remove':
> >> max96712.c:(.text+0x54): undefined reference to `v4l2_async_unregister_subdev'
>    m68k-linux-ld: drivers/staging/media/max96712/max96712.o: in function `max96712_probe':
> >> max96712.c:(.text+0x1c2): undefined reference to `v4l2_fwnode_endpoint_parse'
> >> m68k-linux-ld: max96712.c:(.text+0x332): undefined reference to `v4l2_ctrl_handler_init_class'
> >> m68k-linux-ld: max96712.c:(.text+0x38c): undefined reference to `v4l2_ctrl_new_std'
> >> m68k-linux-ld: max96712.c:(.text+0x3b4): undefined reference to `v4l2_ctrl_new_std_menu_items'
> >> m68k-linux-ld: max96712.c:(.text+0x3ca): undefined reference to `v4l2_ctrl_handler_free'
> >> m68k-linux-ld: max96712.c:(.text+0x406): undefined reference to `v4l2_async_register_subdev'
>    m68k-linux-ld: max96712.c:(.text+0x416): 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



-- 
Regards,
Niklas Söderlund

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ