From: kernel test robot <lkp@intel.com>
To: "Björn Töpel" <bjorn.topel@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Alexei Starovoitov <ast@kernel.org>
Subject: arch/x86/net/bpf_jit_comp.c:1647:5: warning: no previous prototype for 'arch_prepare_bpf_dispatcher'
Date: Wed, 8 Jul 2020 14:11:18 +0800 [thread overview]
Message-ID: <202007081416.QIEPDbCO%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1383 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dcde237b9b0eb1d19306e6f48c0a4e058907619f
commit: 75ccbef6369e94ecac696a152a998a978d41376b bpf: Introduce BPF dispatcher
date: 7 months ago
config: x86_64-randconfig-r014-20200707 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
git checkout 75ccbef6369e94ecac696a152a998a978d41376b
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/net/bpf_jit_comp.c:1647:5: warning: no previous prototype for 'arch_prepare_bpf_dispatcher' [-Wmissing-prototypes]
1647 | int arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/arch_prepare_bpf_dispatcher +1647 arch/x86/net/bpf_jit_comp.c
1646
> 1647 int arch_prepare_bpf_dispatcher(void *image, s64 *funcs, int num_funcs)
1648 {
1649 u8 *prog = image;
1650
1651 sort(funcs, num_funcs, sizeof(funcs[0]), cmp_ips, NULL);
1652 return emit_bpf_dispatcher(&prog, 0, num_funcs - 1, funcs);
1653 }
1654
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28201 bytes --]
next reply other threads:[~2020-07-08 6:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-08 6:11 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-18 6:11 arch/x86/net/bpf_jit_comp.c:1647:5: warning: no previous prototype for 'arch_prepare_bpf_dispatcher' kernel test robot
2021-08-13 22:45 kernel test robot
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=202007081416.QIEPDbCO%lkp@intel.com \
--to=lkp@intel.com \
--cc=ast@kernel.org \
--cc=bjorn.topel@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox