public inbox for [email protected]
 help / color / mirror / Atom feed
* [ammarfaizi2-block:bpf/bpf-next/pr/bpf-sysctl 1/1] kernel/bpf/syscall.c:4944:13: warning: no previous prototype for function 'unpriv_ebpf_notify'
@ 2022-04-13 22:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-13 22:54 UTC (permalink / raw)
  To: Yan Zhu
  Cc: llvm, kbuild-all, GNU/Weeb Mailing List, linux-kernel,
	Daniel Borkmann

tree:   https://github.com/ammarfaizi2/linux-block bpf/bpf-next/pr/bpf-sysctl
head:   2900005ea287b11dcc8c1b9fcf24893b7ff41d6d
commit: 2900005ea287b11dcc8c1b9fcf24893b7ff41d6d [1/1] bpf: Move BPF sysctls from kernel/sysctl.c to BPF core
config: arm64-buildonly-randconfig-r005-20220413 (https://download.01.org/0day-ci/archive/20220414/[email protected]/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6b7e6ea489f6dd45a9b0da9ac20871560917b9b0)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/ammarfaizi2/linux-block/commit/2900005ea287b11dcc8c1b9fcf24893b7ff41d6d
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block bpf/bpf-next/pr/bpf-sysctl
        git checkout 2900005ea287b11dcc8c1b9fcf24893b7ff41d6d
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash kernel/bpf/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All warnings (new ones prefixed by >>):

>> kernel/bpf/syscall.c:4944:13: warning: no previous prototype for function 'unpriv_ebpf_notify' [-Wmissing-prototypes]
   void __weak unpriv_ebpf_notify(int new_state)
               ^
   kernel/bpf/syscall.c:4944:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __weak unpriv_ebpf_notify(int new_state)
   ^
   static 
   1 warning generated.


vim +/unpriv_ebpf_notify +4944 kernel/bpf/syscall.c

  4943	
> 4944	void __weak unpriv_ebpf_notify(int new_state)
  4945	{
  4946	}
  4947	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-04-13 22:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-13 22:54 [ammarfaizi2-block:bpf/bpf-next/pr/bpf-sysctl 1/1] kernel/bpf/syscall.c:4944:13: warning: no previous prototype for function 'unpriv_ebpf_notify' 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