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]
Date:   Wed, 20 Jul 2022 15:16:16 +0800
From:   kernel test robot <>
To:     Xu Jia <>,,,
Subject: Re: [PATCH bpf-next] bpf: fix bpf compile error caused by

Hi Xu,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on bpf-next/master]

base: master
config: i386-randconfig-a005-20220718 (
compiler: clang version 15.0.0 ( dd5635541cd7bbd62cd59b6694dfb759b6e9a0d8)
reproduce (this is a W=1 build):
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add linux-review
        git fetch --no-tags linux-review Xu-Jia/bpf-fix-bpf-compile-error-caused-by-CONFIG_CGROUP_BPF/20220719-165058
        git checkout cfd7055cd0be7cfd0de5c24a84c29afe0611cb6c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/ufs/core/ kernel/bpf/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <>

All warnings (new ones prefixed by >>):

>> kernel/bpf/trampoline.c:526:34: warning: unused variable 'bpf_shim_tramp_link_lops' [-Wunused-const-variable]
   static const struct bpf_link_ops bpf_shim_tramp_link_lops = {
   1 warning generated.

vim +/bpf_shim_tramp_link_lops +526 kernel/bpf/trampoline.c

69fd337a975c7e Stanislav Fomichev 2022-06-28  525  
69fd337a975c7e Stanislav Fomichev 2022-06-28 @526  static const struct bpf_link_ops bpf_shim_tramp_link_lops = {
69fd337a975c7e Stanislav Fomichev 2022-06-28  527  	.release = bpf_shim_tramp_link_release,
69fd337a975c7e Stanislav Fomichev 2022-06-28  528  	.dealloc = bpf_shim_tramp_link_dealloc,
69fd337a975c7e Stanislav Fomichev 2022-06-28  529  };
69fd337a975c7e Stanislav Fomichev 2022-06-28  530  

0-DAY CI Kernel Test Service

Powered by blists - more mailing lists