LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* arch/x86/net/bpf_jit_comp.c:1647:5: warning: no previous prototype for 'arch_prepare_bpf_dispatcher'
@ 2021-08-13 22:45 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-08-13 22:45 UTC (permalink / raw)
  To: Björn Töpel; +Cc: kbuild-all, linux-kernel, Alexei Starovoitov

[-- Attachment #1: Type: text/plain, Size: 1718 bytes --]

Hi Björn,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f8e6dfc64f6135d1b6c5215c14cd30b9b60a0008
commit: 75ccbef6369e94ecac696a152a998a978d41376b bpf: Introduce BPF dispatcher
date:   1 year, 8 months ago
config: x86_64-buildonly-randconfig-r001-20210814 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=75ccbef6369e94ecac696a152a998a978d41376b
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        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: 33634 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* arch/x86/net/bpf_jit_comp.c:1647:5: warning: no previous prototype for 'arch_prepare_bpf_dispatcher'
@ 2021-06-18  6:11 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-06-18  6:11 UTC (permalink / raw)
  To: Björn Töpel; +Cc: kbuild-all, linux-kernel, Alexei Starovoitov

[-- Attachment #1: Type: text/plain, Size: 1708 bytes --]

Hi Björn,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fd0aa1a4567d0f09e1bfe367a950b004f99ac290
commit: 75ccbef6369e94ecac696a152a998a978d41376b bpf: Introduce BPF dispatcher
date:   1 year, 6 months ago
config: x86_64-randconfig-r023-20210618 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=75ccbef6369e94ecac696a152a998a978d41376b
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        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: 31462 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* arch/x86/net/bpf_jit_comp.c:1647:5: warning: no previous prototype for 'arch_prepare_bpf_dispatcher'
@ 2020-07-08  6:11 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-07-08  6:11 UTC (permalink / raw)
  To: Björn Töpel; +Cc: kbuild-all, linux-kernel, Alexei Starovoitov

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-13 22:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13 22:45 arch/x86/net/bpf_jit_comp.c:1647:5: warning: no previous prototype for 'arch_prepare_bpf_dispatcher' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-06-18  6:11 kernel test robot
2020-07-08  6:11 kernel test robot

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).