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: <202210140018.1H3dwFJ2-lkp@intel.com>
Date:   Fri, 14 Oct 2022 00:40:56 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jiri Olsa <jolsa@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [jolsa-perf:bpf/tracing_multi_ng_4 1/23]
 kernel/trace/ftrace_test.c:7:6: warning: no previous prototype for
 'ftrace_test_0'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/tracing_multi_ng_4
head:   e3fa3b908cc734f85477c07a0ba93480bd80702c
commit: ec03f315d8468cb5ac3c9ed8e41bef31e666a529 [1/23] ftrace: Add test functions
config: loongarch-allyesconfig
compiler: loongarch64-linux-gcc (GCC) 12.1.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git/commit/?id=ec03f315d8468cb5ac3c9ed8e41bef31e666a529
        git remote add jolsa-perf https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
        git fetch --no-tags jolsa-perf bpf/tracing_multi_ng_4
        git checkout ec03f315d8468cb5ac3c9ed8e41bef31e666a529
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash kernel/trace/

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

>> kernel/trace/ftrace_test.c:7:6: warning: no previous prototype for 'ftrace_test_0' [-Wmissing-prototypes]
       7 | FUNC(ftrace_test_0)
         |      ^~~~~~~~~~~~~
   kernel/trace/ftrace_test.c:4:5: note: in definition of macro 'FUNC'
       4 | int __name(void) { return 0; }  \
         |     ^~~~~~
>> kernel/trace/ftrace_test.c:8:6: warning: no previous prototype for 'ftrace_test_1' [-Wmissing-prototypes]
       8 | FUNC(ftrace_test_1)
         |      ^~~~~~~~~~~~~
   kernel/trace/ftrace_test.c:4:5: note: in definition of macro 'FUNC'
       4 | int __name(void) { return 0; }  \
         |     ^~~~~~
>> kernel/trace/ftrace_test.c:9:6: warning: no previous prototype for 'ftrace_test_2' [-Wmissing-prototypes]
       9 | FUNC(ftrace_test_2)
         |      ^~~~~~~~~~~~~
   kernel/trace/ftrace_test.c:4:5: note: in definition of macro 'FUNC'
       4 | int __name(void) { return 0; }  \
         |     ^~~~~~
>> kernel/trace/ftrace_test.c:10:6: warning: no previous prototype for 'ftrace_test_3' [-Wmissing-prototypes]
      10 | FUNC(ftrace_test_3)
         |      ^~~~~~~~~~~~~
   kernel/trace/ftrace_test.c:4:5: note: in definition of macro 'FUNC'
       4 | int __name(void) { return 0; }  \
         |     ^~~~~~
>> kernel/trace/ftrace_test.c:11:6: warning: no previous prototype for 'ftrace_test_4' [-Wmissing-prototypes]
      11 | FUNC(ftrace_test_4)
         |      ^~~~~~~~~~~~~
   kernel/trace/ftrace_test.c:4:5: note: in definition of macro 'FUNC'
       4 | int __name(void) { return 0; }  \
         |     ^~~~~~
>> kernel/trace/ftrace_test.c:12:6: warning: no previous prototype for 'ftrace_test_5' [-Wmissing-prototypes]
      12 | FUNC(ftrace_test_5)
         |      ^~~~~~~~~~~~~
   kernel/trace/ftrace_test.c:4:5: note: in definition of macro 'FUNC'
       4 | int __name(void) { return 0; }  \
         |     ^~~~~~
>> kernel/trace/ftrace_test.c:13:6: warning: no previous prototype for 'ftrace_test_6' [-Wmissing-prototypes]
      13 | FUNC(ftrace_test_6)
         |      ^~~~~~~~~~~~~
   kernel/trace/ftrace_test.c:4:5: note: in definition of macro 'FUNC'
       4 | int __name(void) { return 0; }  \
         |     ^~~~~~
>> kernel/trace/ftrace_test.c:14:6: warning: no previous prototype for 'ftrace_test_7' [-Wmissing-prototypes]
      14 | FUNC(ftrace_test_7)
         |      ^~~~~~~~~~~~~
   kernel/trace/ftrace_test.c:4:5: note: in definition of macro 'FUNC'
       4 | int __name(void) { return 0; }  \
         |     ^~~~~~
>> kernel/trace/ftrace_test.c:15:6: warning: no previous prototype for 'ftrace_test_8' [-Wmissing-prototypes]
      15 | FUNC(ftrace_test_8)
         |      ^~~~~~~~~~~~~
   kernel/trace/ftrace_test.c:4:5: note: in definition of macro 'FUNC'
       4 | int __name(void) { return 0; }  \
         |     ^~~~~~
>> kernel/trace/ftrace_test.c:16:6: warning: no previous prototype for 'ftrace_test_9' [-Wmissing-prototypes]
      16 | FUNC(ftrace_test_9)
         |      ^~~~~~~~~~~~~
   kernel/trace/ftrace_test.c:4:5: note: in definition of macro 'FUNC'
       4 | int __name(void) { return 0; }  \
         |     ^~~~~~


vim +/ftrace_test_0 +7 kernel/trace/ftrace_test.c

     6	
   > 7	FUNC(ftrace_test_0)
   > 8	FUNC(ftrace_test_1)
   > 9	FUNC(ftrace_test_2)
  > 10	FUNC(ftrace_test_3)
  > 11	FUNC(ftrace_test_4)
  > 12	FUNC(ftrace_test_5)
  > 13	FUNC(ftrace_test_6)
  > 14	FUNC(ftrace_test_7)
  > 15	FUNC(ftrace_test_8)
  > 16	FUNC(ftrace_test_9)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ