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: <202207300604.XFoJYXtZ-lkp@intel.com>
Date:   Sat, 30 Jul 2022 06:18:39 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Jason A. Donenfeld" <zx2c4@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        Ammar Faizi <ammarfaizi2@...weeb.org>,
        GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
        linux-kernel@...r.kernel.org
Subject: [ammarfaizi2-block:crng/random/jd/vdso 8/8]
 arch/x86/entry/vdso/vgetrandom.c:10:9: warning: no previous prototype for
 function '__vdso_getrandom'

tree:   https://github.com/ammarfaizi2/linux-block crng/random/jd/vdso
head:   7f252f719a107b2d29b14c2f7143a80d4fa14349
commit: 7f252f719a107b2d29b14c2f7143a80d4fa14349 [8/8] random: implement getrandom() in vDSO
config: x86_64-randconfig-a012 (https://download.01.org/0day-ci/archive/20220730/202207300604.XFoJYXtZ-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 52cd00cabf479aa7eb6dbb063b7ba41ea57bce9e)
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://github.com/ammarfaizi2/linux-block/commit/7f252f719a107b2d29b14c2f7143a80d4fa14349
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block crng/random/jd/vdso
        git checkout 7f252f719a107b2d29b14c2f7143a80d4fa14349
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/entry/vdso/

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

>> arch/x86/entry/vdso/vgetrandom.c:10:9: warning: no previous prototype for function '__vdso_getrandom' [-Wmissing-prototypes]
   ssize_t __vdso_getrandom(void **state, void *buffer, size_t len, unsigned long flags)
           ^
   arch/x86/entry/vdso/vgetrandom.c:10:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   ssize_t __vdso_getrandom(void **state, void *buffer, size_t len, unsigned long flags)
   ^
   static 
   1 warning generated.


vim +/__vdso_getrandom +10 arch/x86/entry/vdso/vgetrandom.c

     9	
  > 10	ssize_t __vdso_getrandom(void **state, void *buffer, size_t len, unsigned long flags)
    11	{
    12		return __cvdso_getrandom(state, buffer, len, flags);
    13	}
    14	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ