lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202209080958.1EHGfstn-lkp@intel.com>
Date:   Thu, 8 Sep 2022 09:07:15 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kumar Kartikeya Dwivedi <memxor@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Alexei Starovoitov <ast@...nel.org>
Subject: net/bpf/test_run.c:303:15: warning: no previous declaration for
 'bpf_kfunc_call_memb_release'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0066f1b0e27556381402db3ff31f85d2a2265858
commit: 8218ccb5bd68976ed5d75028ef50c13a857eee25 selftests/bpf: Add tests for kfunc register offset checks
date:   6 months ago
config: x86_64-randconfig-a003-20220829
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8218ccb5bd68976ed5d75028ef50c13a857eee25
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 8218ccb5bd68976ed5d75028ef50c13a857eee25
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash net/bpf/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   net/bpf/test_run.c:206:14: warning: no previous declaration for 'bpf_fentry_test1' [-Wmissing-declarations]
    int noinline bpf_fentry_test1(int a)
                 ^~~~~~~~~~~~~~~~
   net/bpf/test_run.c:213:14: warning: no previous declaration for 'bpf_fentry_test2' [-Wmissing-declarations]
    int noinline bpf_fentry_test2(int a, u64 b)
                 ^~~~~~~~~~~~~~~~
   net/bpf/test_run.c:218:14: warning: no previous declaration for 'bpf_fentry_test3' [-Wmissing-declarations]
    int noinline bpf_fentry_test3(char a, int b, u64 c)
                 ^~~~~~~~~~~~~~~~
   net/bpf/test_run.c:223:14: warning: no previous declaration for 'bpf_fentry_test4' [-Wmissing-declarations]
    int noinline bpf_fentry_test4(void *a, char b, int c, u64 d)
                 ^~~~~~~~~~~~~~~~
   net/bpf/test_run.c:228:14: warning: no previous declaration for 'bpf_fentry_test5' [-Wmissing-declarations]
    int noinline bpf_fentry_test5(u64 a, void *b, short c, int d, u64 e)
                 ^~~~~~~~~~~~~~~~
   net/bpf/test_run.c:233:14: warning: no previous declaration for 'bpf_fentry_test6' [-Wmissing-declarations]
    int noinline bpf_fentry_test6(u64 a, void *b, short c, int d, void *e, u64 f)
                 ^~~~~~~~~~~~~~~~
   net/bpf/test_run.c:242:14: warning: no previous declaration for 'bpf_fentry_test7' [-Wmissing-declarations]
    int noinline bpf_fentry_test7(struct bpf_fentry_test_t *arg)
                 ^~~~~~~~~~~~~~~~
   net/bpf/test_run.c:247:14: warning: no previous declaration for 'bpf_fentry_test8' [-Wmissing-declarations]
    int noinline bpf_fentry_test8(struct bpf_fentry_test_t *arg)
                 ^~~~~~~~~~~~~~~~
   net/bpf/test_run.c:252:14: warning: no previous declaration for 'bpf_modify_return_test' [-Wmissing-declarations]
    int noinline bpf_modify_return_test(int a, int *b)
                 ^~~~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:258:14: warning: no previous declaration for 'bpf_kfunc_call_test1' [-Wmissing-declarations]
    u64 noinline bpf_kfunc_call_test1(struct sock *sk, u32 a, u64 b, u32 c, u64 d)
                 ^~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:263:14: warning: no previous declaration for 'bpf_kfunc_call_test2' [-Wmissing-declarations]
    int noinline bpf_kfunc_call_test2(struct sock *sk, u32 a, u32 b)
                 ^~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:268:24: warning: no previous declaration for 'bpf_kfunc_call_test3' [-Wmissing-declarations]
    struct sock * noinline bpf_kfunc_call_test3(struct sock *sk)
                           ^~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:291:1: warning: no previous declaration for 'bpf_kfunc_call_test_acquire' [-Wmissing-declarations]
    bpf_kfunc_call_test_acquire(unsigned long *scalar_ptr)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:299:15: warning: no previous declaration for 'bpf_kfunc_call_test_release' [-Wmissing-declarations]
    noinline void bpf_kfunc_call_test_release(struct prog_test_ref_kfunc *p)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> net/bpf/test_run.c:303:15: warning: no previous declaration for 'bpf_kfunc_call_memb_release' [-Wmissing-declarations]
    noinline void bpf_kfunc_call_memb_release(struct prog_test_member *p)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:345:15: warning: no previous declaration for 'bpf_kfunc_call_test_pass_ctx' [-Wmissing-declarations]
    noinline void bpf_kfunc_call_test_pass_ctx(struct __sk_buff *skb)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:349:15: warning: no previous declaration for 'bpf_kfunc_call_test_pass1' [-Wmissing-declarations]
    noinline void bpf_kfunc_call_test_pass1(struct prog_test_pass1 *p)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:353:15: warning: no previous declaration for 'bpf_kfunc_call_test_pass2' [-Wmissing-declarations]
    noinline void bpf_kfunc_call_test_pass2(struct prog_test_pass2 *p)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:357:15: warning: no previous declaration for 'bpf_kfunc_call_test_fail1' [-Wmissing-declarations]
    noinline void bpf_kfunc_call_test_fail1(struct prog_test_fail1 *p)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:361:15: warning: no previous declaration for 'bpf_kfunc_call_test_fail2' [-Wmissing-declarations]
    noinline void bpf_kfunc_call_test_fail2(struct prog_test_fail2 *p)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:365:15: warning: no previous declaration for 'bpf_kfunc_call_test_fail3' [-Wmissing-declarations]
    noinline void bpf_kfunc_call_test_fail3(struct prog_test_fail3 *p)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:369:15: warning: no previous declaration for 'bpf_kfunc_call_test_mem_len_pass1' [-Wmissing-declarations]
    noinline void bpf_kfunc_call_test_mem_len_pass1(void *mem, int mem__sz)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:373:15: warning: no previous declaration for 'bpf_kfunc_call_test_mem_len_fail1' [-Wmissing-declarations]
    noinline void bpf_kfunc_call_test_mem_len_fail1(void *mem, int len)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bpf/test_run.c:377:15: warning: no previous declaration for 'bpf_kfunc_call_test_mem_len_fail2' [-Wmissing-declarations]
    noinline void bpf_kfunc_call_test_mem_len_fail2(u64 *mem, int len)
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/bpf_kfunc_call_memb_release +303 net/bpf/test_run.c

   302	
 > 303	noinline void bpf_kfunc_call_memb_release(struct prog_test_member *p)
   304	{
   305	}
   306	

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

View attachment "config" of type "text/plain" (131671 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ