From: kernel test robot <lkp@intel.com>
To: Menglong Dong <imagedong@tencent.com>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Alexei Starovoitov <ast@kernel.org>
Subject: [linux-next:master 1605/10518] net/bpf/test_run.c:568:17: warning: no previous declaration for 'bpf_modify_return_test2'
Date: Thu, 17 Aug 2023 02:19:40 +0800 [thread overview]
Message-ID: <202308170206.fZG3V1Gy-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ef66bf8aeb91fd331cf8f5dca8f9d7bca9ab2849
commit: 5e9cf77d81f9ba51019157dc55a3b73dc89a7cf4 [1605/10518] selftests/bpf: add testcase for TRACING with 6+ arguments
config: x86_64-randconfig-r032-20230816 (https://download.01.org/0day-ci/archive/20230817/202308170206.fZG3V1Gy-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce: (https://download.01.org/0day-ci/archive/20230817/202308170206.fZG3V1Gy-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308170206.fZG3V1Gy-lkp@intel.com/
All warnings (new ones prefixed by >>):
net/bpf/test_run.c:508:17: warning: no previous declaration for 'bpf_fentry_test1' [-Wmissing-declarations]
__bpf_kfunc int bpf_fentry_test1(int a)
^~~~~~~~~~~~~~~~
net/bpf/test_run.c:514: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:519: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:524: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:529: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:534: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:543: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:548: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:553:17: warning: no previous declaration for 'bpf_fentry_test9' [-Wmissing-declarations]
__bpf_kfunc u32 bpf_fentry_test9(u32 *a)
^~~~~~~~~~~~~~~~
net/bpf/test_run.c:558:15: warning: no previous declaration for 'bpf_fentry_test_sinfo' [-Wmissing-declarations]
void noinline bpf_fentry_test_sinfo(struct skb_shared_info *sinfo)
^~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:562:17: warning: no previous declaration for 'bpf_modify_return_test' [-Wmissing-declarations]
__bpf_kfunc int bpf_modify_return_test(int a, int *b)
^~~~~~~~~~~~~~~~~~~~~~
>> net/bpf/test_run.c:568:17: warning: no previous declaration for 'bpf_modify_return_test2' [-Wmissing-declarations]
__bpf_kfunc int bpf_modify_return_test2(int a, int *b, short c, int d,
^~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:575:14: warning: no previous declaration for 'bpf_fentry_shadow_test' [-Wmissing-declarations]
int noinline bpf_fentry_shadow_test(int a)
^~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:597:18: warning: no previous declaration for 'bpf_kfunc_call_test_release' [-Wmissing-declarations]
__bpf_kfunc void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
net/bpf/test_run.c:602:18: warning: no previous declaration for 'bpf_kfunc_call_memb_release' [-Wmissing-declarations]
__bpf_kfunc void bpf_kfunc_call_memb_release(struct prog_test_member *p)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/bpf_modify_return_test2 +568 net/bpf/test_run.c
567
> 568 __bpf_kfunc int bpf_modify_return_test2(int a, int *b, short c, int d,
569 void *e, char f, int g)
570 {
571 *b += 1;
572 return a + *b + c + d + (long)e + f + g;
573 }
574
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-08-16 18:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202308170206.fZG3V1Gy-lkp@intel.com \
--to=lkp@intel.com \
--cc=ast@kernel.org \
--cc=imagedong@tencent.com \
--cc=linux-mm@kvack.org \
--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;
as well as URLs for NNTP newsgroup(s).