* Re: [RFC PATCH bpf-next 4/5] bpf: add smc negotiator support in BPF struct_ops [not found] <1680795034-86384-5-git-send-email-alibuda@linux.alibaba.com> @ 2023-04-06 21:06 ` kernel test robot 0 siblings, 0 replies; only message in thread From: kernel test robot @ 2023-04-06 21:06 UTC (permalink / raw) To: D. Wythe; +Cc: llvm, oe-kbuild-all Hi Wythe, [This is a private test report for your RFC patch.] kernel test robot noticed the following build errors: [auto build test ERROR on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/D-Wythe/net-smc-move-smc_sock-related-structure-definition/20230406-233148 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master patch link: https://lore.kernel.org/r/1680795034-86384-5-git-send-email-alibuda%40linux.alibaba.com patch subject: [RFC PATCH bpf-next 4/5] bpf: add smc negotiator support in BPF struct_ops config: i386-randconfig-a001-20230403 (https://download.01.org/0day-ci/archive/20230407/202304070405.Zgl8WMAW-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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://github.com/intel-lab-lkp/linux/commit/4b65a6397e28b562750d5c411994667c30002963 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review D-Wythe/net-smc-move-smc_sock-related-structure-definition/20230406-233148 git checkout 4b65a6397e28b562750d5c411994667c30002963 # 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 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash kernel/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202304070405.Zgl8WMAW-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from kernel/bpf/bpf_struct_ops.c:85: >> kernel/bpf/bpf_struct_ops_types.h:14:1: error: field has incomplete type 'struct smc_sock_negotiator_ops' BPF_STRUCT_OPS_TYPE(smc_sock_negotiator_ops) ^ kernel/bpf/bpf_struct_ops.c:83:15: note: expanded from macro 'BPF_STRUCT_OPS_TYPE' struct _name data ____cacheline_aligned_in_smp; \ ^ include/net/smc.h:299:15: note: forward declaration of 'struct smc_sock_negotiator_ops' const struct smc_sock_negotiator_ops *negotiator_ops; ^ 1 error generated. vim +14 kernel/bpf/bpf_struct_ops_types.h 3 4 #ifdef CONFIG_BPF_JIT 5 #ifdef CONFIG_NET 6 BPF_STRUCT_OPS_TYPE(bpf_dummy_ops) 7 #endif 8 #ifdef CONFIG_INET 9 #include <net/tcp.h> 10 BPF_STRUCT_OPS_TYPE(tcp_congestion_ops) 11 #endif 12 #if IS_ENABLED(CONFIG_SMC) 13 #include <net/smc.h> > 14 BPF_STRUCT_OPS_TYPE(smc_sock_negotiator_ops) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-06 21:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1680795034-86384-5-git-send-email-alibuda@linux.alibaba.com>
2023-04-06 21:06 ` [RFC PATCH bpf-next 4/5] bpf: add smc negotiator support in BPF struct_ops kernel test robot
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox