From: kernel test robot <lkp@intel.com>
To: "D. Wythe" <alibuda@linux.alibaba.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH bpf-next 4/5] bpf: add smc negotiator support in BPF struct_ops
Date: Fri, 7 Apr 2023 05:06:30 +0800 [thread overview]
Message-ID: <202304070405.Zgl8WMAW-lkp@intel.com> (raw)
In-Reply-To: <1680795034-86384-5-git-send-email-alibuda@linux.alibaba.com>
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
parent reply other threads:[~2023-04-06 21:07 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1680795034-86384-5-git-send-email-alibuda@linux.alibaba.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202304070405.Zgl8WMAW-lkp@intel.com \
--to=lkp@intel.com \
--cc=alibuda@linux.alibaba.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox