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: <202206280510.uGOwzwNF-lkp@intel.com>
Date:   Tue, 28 Jun 2022 05:08:50 +0800
From:   kernel test robot <lkp@...el.com>
To:     Andi Kleen <andi@...stfloor.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Jiri Slaby <jirislaby@...nel.org>
Subject: [jirislaby:lto 7/48] kernel/static_call_inline.c:504:22: warning: no
 previous prototype for 'sc_func_a'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git lto
head:   b5ee1c28376713353cb5355716949d9c6d9b416b
commit: 7968aa68d8a410363407df9a678f4027874affcb [7/48] static_call: Make static call functions visible
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220628/202206280510.uGOwzwNF-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=7968aa68d8a410363407df9a678f4027874affcb
        git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
        git fetch --no-tags jirislaby lto
        git checkout 7968aa68d8a410363407df9a678f4027874affcb
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

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/static_call_inline.c:504:22: warning: no previous prototype for 'sc_func_a' [-Wmissing-prototypes]
     504 | __visible_on_lto int sc_func_a(int x)
         |                      ^~~~~~~~~


vim +/sc_func_a +504 kernel/static_call_inline.c

   503	
 > 504	__visible_on_lto int sc_func_a(int x)
   505	{
   506		return x+1;
   507	}
   508	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ