All of lore.kernel.org
 help / color / mirror / Atom feed
* [ast-bpf:uptr_v3 2/11] kernel/bpf/core.c:2975:12: warning: no previous prototype for 'bpf_arena_get_user_vm_start'
@ 2024-01-28 19:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-28 19:12 UTC (permalink / raw)
  To: Alexei Starovoitov; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ast/bpf.git uptr_v3
head:   545ce904000a1f553bc985000a0eee057b6c4847
commit: 35e094065b98d2f1e23592f3e65d4f8c6bc1863e [2/11] bpf: Introduce bpf arena.
config: m68k-m5208evb_defconfig (https://download.01.org/0day-ci/archive/20240129/202401290328.mApkVJab-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240129/202401290328.mApkVJab-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/202401290328.mApkVJab-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> kernel/bpf/core.c:2975:12: warning: no previous prototype for 'bpf_arena_get_user_vm_start' [-Wmissing-prototypes]
    2975 | __weak u64 bpf_arena_get_user_vm_start(struct bpf_arena *arena)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/bpf/core.c:2979:12: warning: no previous prototype for 'bpf_arena_get_kern_vm_start' [-Wmissing-prototypes]
    2979 | __weak u64 bpf_arena_get_kern_vm_start(struct bpf_arena *arena)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/bpf_arena_get_user_vm_start +2975 kernel/bpf/core.c

  2972	
  2973	#ifndef CONFIG_MMU
  2974	__weak const struct bpf_map_ops arena_map_ops;
> 2975	__weak u64 bpf_arena_get_user_vm_start(struct bpf_arena *arena)
  2976	{
  2977		return 0;
  2978	}
> 2979	__weak u64 bpf_arena_get_kern_vm_start(struct bpf_arena *arena)
  2980	{
  2981		return 0;
  2982	}
  2983	#endif
  2984	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-28 19:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-28 19:12 [ast-bpf:uptr_v3 2/11] kernel/bpf/core.c:2975:12: warning: no previous prototype for 'bpf_arena_get_user_vm_start' kernel test robot

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.