All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alexei Starovoitov <ast@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [ast-bpf:uptr_v3 2/11] kernel/bpf/core.c:2975:12: warning: no previous prototype for 'bpf_arena_get_user_vm_start'
Date: Mon, 29 Jan 2024 03:12:37 +0800	[thread overview]
Message-ID: <202401290328.mApkVJab-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-01-28 19:13 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=202401290328.mApkVJab-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ast@kernel.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 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.