[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202308170136.QmDPx82O-lkp@intel.com>
Date: Thu, 17 Aug 2023 01:27:17 +0800
From: kernel test robot <lkp@...el.com>
To: Kumar Kartikeya Dwivedi <memxor@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Alexei Starovoitov <ast@...nel.org>
Subject: net/bpf/test_run.c:303:15: warning: no previous declaration for
'bpf_kfunc_call_memb_release'
Hi Kumar,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4853c74bd7ab7fdb83f319bd9ace8a08c031e9b6
commit: 8218ccb5bd68976ed5d75028ef50c13a857eee25 selftests/bpf: Add tests for kfunc register offset checks
date: 1 year, 5 months ago
config: x86_64-randconfig-x012-20230816 (https://download.01.org/0day-ci/archive/20230817/202308170136.QmDPx82O-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce: (https://download.01.org/0day-ci/archive/20230817/202308170136.QmDPx82O-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308170136.QmDPx82O-lkp@intel.com/
All warnings (new ones prefixed by >>):
net/bpf/test_run.c:206:14: warning: no previous declaration for 'bpf_fentry_test1' [-Wmissing-declarations]
int noinline bpf_fentry_test1(int a)
^~~~~~~~~~~~~~~~
net/bpf/test_run.c:213:14: warning: no previous declaration for 'bpf_fentry_test2' [-Wmissing-declarations]
int noinline bpf_fentry_test2(int a, u64 b)
^~~~~~~~~~~~~~~~
net/bpf/test_run.c:218:14: warning: no previous declaration for 'bpf_fentry_test3' [-Wmissing-declarations]
int noinline bpf_fentry_test3(char a, int b, u64 c)
^~~~~~~~~~~~~~~~
net/bpf/test_run.c:223:14: warning: no previous declaration for 'bpf_fentry_test4' [-Wmissing-declarations]
int noinline bpf_fentry_test4(void *a, char b, int c, u64 d)
^~~~~~~~~~~~~~~~
net/bpf/test_run.c:228:14: warning: no previous declaration for 'bpf_fentry_test5' [-Wmissing-declarations]
int noinline bpf_fentry_test5(u64 a, void *b, short c, int d, u64 e)
^~~~~~~~~~~~~~~~
net/bpf/test_run.c:233:14: warning: no previous declaration for 'bpf_fentry_test6' [-Wmissing-declarations]
int noinline bpf_fentry_test6(u64 a, void *b, short c, int d, void *e, u64 f)
^~~~~~~~~~~~~~~~
net/bpf/test_run.c:242:14: warning: no previous declaration for 'bpf_fentry_test7' [-Wmissing-declarations]
int noinline bpf_fentry_test7(struct bpf_fentry_test_t *arg)
^~~~~~~~~~~~~~~~
net/bpf/test_run.c:247:14: warning: no previous declaration for 'bpf_fentry_test8' [-Wmissing-declarations]
int noinline bpf_fentry_test8(struct bpf_fentry_test_t *arg)
^~~~~~~~~~~~~~~~
net/bpf/test_run.c:252:14: warning: no previous declaration for 'bpf_modify_return_test' [-Wmissing-declarations]
int noinline bpf_modify_return_test(int a, int *b)
^~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:258:14: warning: no previous declaration for 'bpf_kfunc_call_test1' [-Wmissing-declarations]
u64 noinline bpf_kfunc_call_test1(struct sock *sk, u32 a, u64 b, u32 c, u64 d)
^~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:263:14: warning: no previous declaration for 'bpf_kfunc_call_test2' [-Wmissing-declarations]
int noinline bpf_kfunc_call_test2(struct sock *sk, u32 a, u32 b)
^~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:268:24: warning: no previous declaration for 'bpf_kfunc_call_test3' [-Wmissing-declarations]
struct sock * noinline bpf_kfunc_call_test3(struct sock *sk)
^~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:291:1: warning: no previous declaration for 'bpf_kfunc_call_test_acquire' [-Wmissing-declarations]
bpf_kfunc_call_test_acquire(unsigned long *scalar_ptr)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:299:15: warning: no previous declaration for 'bpf_kfunc_call_test_release' [-Wmissing-declarations]
noinline void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> net/bpf/test_run.c:303:15: warning: no previous declaration for 'bpf_kfunc_call_memb_release' [-Wmissing-declarations]
noinline void bpf_kfunc_call_memb_release(struct prog_test_member *p)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:345:15: warning: no previous declaration for 'bpf_kfunc_call_test_pass_ctx' [-Wmissing-declarations]
noinline void bpf_kfunc_call_test_pass_ctx(struct __sk_buff *skb)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:349:15: warning: no previous declaration for 'bpf_kfunc_call_test_pass1' [-Wmissing-declarations]
noinline void bpf_kfunc_call_test_pass1(struct prog_test_pass1 *p)
^~~~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:353:15: warning: no previous declaration for 'bpf_kfunc_call_test_pass2' [-Wmissing-declarations]
noinline void bpf_kfunc_call_test_pass2(struct prog_test_pass2 *p)
^~~~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:357:15: warning: no previous declaration for 'bpf_kfunc_call_test_fail1' [-Wmissing-declarations]
noinline void bpf_kfunc_call_test_fail1(struct prog_test_fail1 *p)
^~~~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:361:15: warning: no previous declaration for 'bpf_kfunc_call_test_fail2' [-Wmissing-declarations]
noinline void bpf_kfunc_call_test_fail2(struct prog_test_fail2 *p)
^~~~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:365:15: warning: no previous declaration for 'bpf_kfunc_call_test_fail3' [-Wmissing-declarations]
noinline void bpf_kfunc_call_test_fail3(struct prog_test_fail3 *p)
^~~~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:369:15: warning: no previous declaration for 'bpf_kfunc_call_test_mem_len_pass1' [-Wmissing-declarations]
noinline void bpf_kfunc_call_test_mem_len_pass1(void *mem, int mem__sz)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:373:15: warning: no previous declaration for 'bpf_kfunc_call_test_mem_len_fail1' [-Wmissing-declarations]
noinline void bpf_kfunc_call_test_mem_len_fail1(void *mem, int len)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:377:15: warning: no previous declaration for 'bpf_kfunc_call_test_mem_len_fail2' [-Wmissing-declarations]
noinline void bpf_kfunc_call_test_mem_len_fail2(u64 *mem, int len)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/bpf_kfunc_call_memb_release +303 net/bpf/test_run.c
302
> 303 noinline void bpf_kfunc_call_memb_release(struct prog_test_member *p)
304 {
305 }
306
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists