From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH RFC bpf-next v1 5/6] net: netfilter: Add unstable CT lookup helper for XDP and TC-BPF
Date: Sun, 31 Oct 2021 01:27:12 +0800 [thread overview]
Message-ID: <202110310127.hQxVlRWD-lkp@intel.com> (raw)
In-Reply-To: <20211030144609.263572-6-memxor@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3182 bytes --]
Hi Kumar,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on bpf-next/master]
url: https://github.com/0day-ci/linux/commits/Kumar-Kartikeya-Dwivedi/Introduce-unstable-CT-lookup-helpers/20211030-224748
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: ia64-defconfig (attached as .config)
compiler: ia64-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
# https://github.com/0day-ci/linux/commit/f52e281f642e94cd13ce3dee075b76a562f22531
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Kumar-Kartikeya-Dwivedi/Introduce-unstable-CT-lookup-helpers/20211030-224748
git checkout f52e281f642e94cd13ce3dee075b76a562f22531
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from net/core/filter.c:50:
include/linux/btf.h:307:1: error: expected identifier or '(' before '{' token
307 | {
| ^
net/core/filter.c: In function 'xdp_btf_struct_access':
>> net/core/filter.c:10012:24: error: implicit declaration of function 'btf_struct_access'; did you mean 'xdp_btf_struct_access'? [-Werror=implicit-function-declaration]
10012 | return btf_struct_access(log, btf, t, off, size, atype, next_btf_id);
| ^~~~~~~~~~~~~~~~~
| xdp_btf_struct_access
In file included from net/core/filter.c:50:
net/core/filter.c: At top level:
include/linux/btf.h:305:1: warning: 'bpf_get_mod_kfunc_return_type' used but never defined
305 | bpf_get_mod_kfunc_return_type(struct kfunc_btf_id_list *klist, u32 kfunc_btf_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +10012 net/core/filter.c
9990
9991 static int xdp_btf_struct_access(struct bpf_verifier_log *log,
9992 const struct btf *btf,
9993 const struct btf_type *t, int off,
9994 int size, enum bpf_access_type atype,
9995 u32 *next_btf_id)
9996 {
9997 int ret = __BPF_REG_TYPE_MAX;
9998 struct module *mod;
9999
10000 if (atype != BPF_READ)
10001 return -EACCES;
10002
10003 if (btf_is_module(btf)) {
10004 mod = btf_try_get_module(btf);
10005 if (!mod)
10006 return -ENXIO;
10007 ret = bpf_btf_mod_struct_access(&xdp_kfunc_list, mod, log, btf, t, off, size,
10008 atype, next_btf_id);
10009 module_put(mod);
10010 }
10011 if (ret == __BPF_REG_TYPE_MAX)
10012 return btf_struct_access(log, btf, t, off, size, atype, next_btf_id);
10013 return ret;
10014 }
10015
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 19973 bytes --]
next prev parent reply other threads:[~2021-10-30 17:27 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-30 14:46 [PATCH RFC bpf-next v1 0/6] Introduce unstable CT lookup helpers Kumar Kartikeya Dwivedi
2021-10-30 14:46 ` [PATCH RFC bpf-next v1 1/6] bpf: Refactor bpf_check_mod_kfunc_call Kumar Kartikeya Dwivedi
2021-10-30 14:46 ` [PATCH RFC bpf-next v1 2/6] bpf: Remove DEFINE_KFUNC_BTF_ID_SET Kumar Kartikeya Dwivedi
2021-10-30 14:46 ` [PATCH RFC bpf-next v1 3/6] bpf: Extend kfunc with PTR_TO_CTX and PTR_TO_MEM arguments Kumar Kartikeya Dwivedi
2021-10-30 14:46 ` [PATCH RFC bpf-next v1 4/6] bpf: Add reference tracking support to kfunc returned PTR_TO_BTF_ID Kumar Kartikeya Dwivedi
2021-10-30 18:28 ` kernel test robot
2021-10-30 18:28 ` kernel test robot
2021-10-30 14:46 ` [PATCH RFC bpf-next v1 5/6] net: netfilter: Add unstable CT lookup helper for XDP and TC-BPF Kumar Kartikeya Dwivedi
2021-10-30 16:44 ` kernel test robot
2021-10-30 17:27 ` kernel test robot [this message]
2021-10-31 19:10 ` Florian Westphal
2021-11-01 19:49 ` Toke Høiland-Jørgensen
2021-11-02 20:43 ` Florian Westphal
2021-11-05 20:48 ` Kumar Kartikeya Dwivedi
2021-11-02 23:19 ` Alexei Starovoitov
2021-10-30 14:46 ` [PATCH RFC bpf-next v1 6/6] selftests/bpf: Add referenced PTR_TO_BTF_ID selftest Kumar Kartikeya Dwivedi
2021-11-02 23:16 ` [PATCH RFC bpf-next v1 0/6] Introduce unstable CT lookup helpers Alexei Starovoitov
2021-11-04 12:55 ` Kumar Kartikeya Dwivedi
2021-11-05 20:49 ` Alexei Starovoitov
2021-11-05 21:13 ` Kumar Kartikeya Dwivedi
2021-11-06 18:13 ` Alexei Starovoitov
2021-11-07 15:44 ` Kumar Kartikeya Dwivedi
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=202110310127.hQxVlRWD-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.