[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202209010925.Du4GHGW9-lkp@intel.com>
Date: Thu, 1 Sep 2022 09:58:06 +0800
From: kernel test robot <lkp@...el.com>
To: Joanne Koong <joannelkoong@...il.com>, bpf@...r.kernel.org
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org, andrii@...nel.org,
daniel@...earbox.net, ast@...nel.org, kafai@...com,
memxor@...il.com, toke@...hat.com, kuba@...nel.org,
netdev@...r.kernel.org, Joanne Koong <joannelkoong@...il.com>
Subject: Re: [PATCH bpf-next v5 1/3] bpf: Add skb dynptrs
Hi Joanne,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on bpf-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/Joanne-Koong/Add-skb-xdp-dynptrs/20220901-024122
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: hexagon-randconfig-r045-20220831 (https://download.01.org/0day-ci/archive/20220901/202209010925.Du4GHGW9-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4)
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/273adaa44c063c460e9a23123957a1864c5cc26c
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Joanne-Koong/Add-skb-xdp-dynptrs/20220901-024122
git checkout 273adaa44c063c460e9a23123957a1864c5cc26c
# 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=hexagon SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All error/warnings (new ones prefixed by >>):
In file included from kernel/sysctl.c:35:
>> include/linux/filter.h:1540:5: warning: no previous prototype for function '__bpf_skb_load_bytes' [-Wmissing-prototypes]
int __bpf_skb_load_bytes(const struct sk_buff *skb, u32 offset, void *to, u32 len)
^
include/linux/filter.h:1540:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __bpf_skb_load_bytes(const struct sk_buff *skb, u32 offset, void *to, u32 len)
^
static
>> include/linux/filter.h:1545:5: warning: no previous prototype for function '__bpf_skb_store_bytes' [-Wmissing-prototypes]
int __bpf_skb_store_bytes(struct sk_buff *skb, u32 offset, const void *from,
^
include/linux/filter.h:1545:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __bpf_skb_store_bytes(struct sk_buff *skb, u32 offset, const void *from,
^
static
2 warnings generated.
--
In file included from kernel/kallsyms.c:25:
>> include/linux/filter.h:1540:5: warning: no previous prototype for function '__bpf_skb_load_bytes' [-Wmissing-prototypes]
int __bpf_skb_load_bytes(const struct sk_buff *skb, u32 offset, void *to, u32 len)
^
include/linux/filter.h:1540:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __bpf_skb_load_bytes(const struct sk_buff *skb, u32 offset, void *to, u32 len)
^
static
>> include/linux/filter.h:1545:5: warning: no previous prototype for function '__bpf_skb_store_bytes' [-Wmissing-prototypes]
int __bpf_skb_store_bytes(struct sk_buff *skb, u32 offset, const void *from,
^
include/linux/filter.h:1545:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __bpf_skb_store_bytes(struct sk_buff *skb, u32 offset, const void *from,
^
static
kernel/kallsyms.c:570:12: warning: no previous prototype for function 'arch_get_kallsym' [-Wmissing-prototypes]
int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value,
^
kernel/kallsyms.c:570:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value,
^
static
3 warnings generated.
--
>> ld.lld: error: duplicate symbol: __bpf_skb_load_bytes
>>> defined at filter.h:1542 (include/linux/filter.h:1542)
>>> sysctl.o:(__bpf_skb_load_bytes) in archive kernel/built-in.a
>>> defined at filter.h:1542 (include/linux/filter.h:1542)
>>> extable.o:(.text+0x0) in archive kernel/built-in.a
--
>> ld.lld: error: duplicate symbol: __bpf_skb_store_bytes
>>> defined at filter.h:1548 (include/linux/filter.h:1548)
>>> sysctl.o:(__bpf_skb_store_bytes) in archive kernel/built-in.a
>>> defined at filter.h:1548 (include/linux/filter.h:1548)
>>> extable.o:(.text+0x8) in archive kernel/built-in.a
--
>> ld.lld: error: duplicate symbol: __bpf_skb_load_bytes
>>> defined at filter.h:1542 (include/linux/filter.h:1542)
>>> sysctl.o:(__bpf_skb_load_bytes) in archive kernel/built-in.a
>>> defined at filter.h:1542 (include/linux/filter.h:1542)
>>> kallsyms.o:(.text+0x0) in archive kernel/built-in.a
--
>> ld.lld: error: duplicate symbol: __bpf_skb_store_bytes
>>> defined at filter.h:1548 (include/linux/filter.h:1548)
>>> sysctl.o:(__bpf_skb_store_bytes) in archive kernel/built-in.a
>>> defined at filter.h:1548 (include/linux/filter.h:1548)
>>> kallsyms.o:(.text+0x8) in archive kernel/built-in.a
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists