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: <202109282119.XmUa6yKE-lkp@intel.com>
Date:   Tue, 28 Sep 2021 21:36:35 +0800
From:   kernel test robot <lkp@...el.com>
To:     Lauri Kasanen <cand@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Subject: arch/mips/kernel/linux32.c:102:20: warning: no previous prototype
 for 'sys32_readahead'

Hi Lauri,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0513e464f9007b70b96740271a948ca5ab6e7dd7
commit: baec970aa5ba11099ad7a91773350c91fb2113f0 mips: Add N64 machine type
date:   8 months ago
config: mips-randconfig-r003-20210928 (attached as .config)
compiler: mips64-linux-gcc (GCC) 11.2.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/torvalds/linux.git/commit/?id=baec970aa5ba11099ad7a91773350c91fb2113f0
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout baec970aa5ba11099ad7a91773350c91fb2113f0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=mips 

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

All warnings (new ones prefixed by >>):

>> arch/mips/kernel/linux32.c:102:20: warning: no previous prototype for 'sys32_readahead' [-Wmissing-prototypes]
     102 | asmlinkage ssize_t sys32_readahead(int fd, u32 pad0, u64 a2, u64 a3,
         |                    ^~~~~~~~~~~~~~~
>> arch/mips/kernel/linux32.c:108:17: warning: no previous prototype for 'sys32_sync_file_range' [-Wmissing-prototypes]
     108 | asmlinkage long sys32_sync_file_range(int fd, int __pad,
         |                 ^~~~~~~~~~~~~~~~~~~~~
>> arch/mips/kernel/linux32.c:118:17: warning: no previous prototype for 'sys32_fadvise64_64' [-Wmissing-prototypes]
     118 | asmlinkage long sys32_fadvise64_64(int fd, int __pad,
         |                 ^~~~~~~~~~~~~~~~~~
>> arch/mips/kernel/linux32.c:128:17: warning: no previous prototype for 'sys32_fallocate' [-Wmissing-prototypes]
     128 | asmlinkage long sys32_fallocate(int fd, int mode, unsigned offset_a2,
         |                 ^~~~~~~~~~~~~~~
--
>> arch/mips/kernel/signal32.c:33:16: warning: no previous prototype for 'sys32_sigsuspend' [-Wmissing-prototypes]
      33 | asmlinkage int sys32_sigsuspend(compat_sigset_t __user *uset)
         |                ^~~~~~~~~~~~~~~~
--
>> arch/mips/kernel/signal_n32.c:54:17: warning: no previous prototype for 'sysn32_rt_sigreturn' [-Wmissing-prototypes]
      54 | asmlinkage void sysn32_rt_sigreturn(void)
         |                 ^~~~~~~~~~~~~~~~~~~
--
>> arch/mips/kernel/signal_o32.c:154:17: warning: no previous prototype for 'sys32_rt_sigreturn' [-Wmissing-prototypes]
     154 | asmlinkage void sys32_rt_sigreturn(void)
         |                 ^~~~~~~~~~~~~~~~~~
>> arch/mips/kernel/signal_o32.c:256:17: warning: no previous prototype for 'sys32_sigreturn' [-Wmissing-prototypes]
     256 | asmlinkage void sys32_sigreturn(void)
         |                 ^~~~~~~~~~~~~~~


vim +/sys32_readahead +102 arch/mips/kernel/linux32.c

^1da177e4c3f41 Linus Torvalds    2005-04-16  101  
^1da177e4c3f41 Linus Torvalds    2005-04-16 @102  asmlinkage ssize_t sys32_readahead(int fd, u32 pad0, u64 a2, u64 a3,
^1da177e4c3f41 Linus Torvalds    2005-04-16  103  				   size_t count)
^1da177e4c3f41 Linus Torvalds    2005-04-16  104  {
c7b95d5156a9ee Dominik Brodowski 2018-03-19  105  	return ksys_readahead(fd, merge_64(a2, a3), count);
^1da177e4c3f41 Linus Torvalds    2005-04-16  106  }
^1da177e4c3f41 Linus Torvalds    2005-04-16  107  
a8d587a71b7632 Ralf Baechle      2006-04-01 @108  asmlinkage long sys32_sync_file_range(int fd, int __pad,
a8d587a71b7632 Ralf Baechle      2006-04-01  109  	unsigned long a2, unsigned long a3,
a8d587a71b7632 Ralf Baechle      2006-04-01  110  	unsigned long a4, unsigned long a5,
a8d587a71b7632 Ralf Baechle      2006-04-01  111  	int flags)
a8d587a71b7632 Ralf Baechle      2006-04-01  112  {
806cbae1228cc1 Dominik Brodowski 2018-03-11  113  	return ksys_sync_file_range(fd,
a8d587a71b7632 Ralf Baechle      2006-04-01  114  			merge_64(a2, a3), merge_64(a4, a5),
a8d587a71b7632 Ralf Baechle      2006-04-01  115  			flags);
a8d587a71b7632 Ralf Baechle      2006-04-01  116  }
a8d587a71b7632 Ralf Baechle      2006-04-01  117  
8676d2e0244cbe Atsushi Nemoto    2007-05-18 @118  asmlinkage long sys32_fadvise64_64(int fd, int __pad,
8676d2e0244cbe Atsushi Nemoto    2007-05-18  119  	unsigned long a2, unsigned long a3,
8676d2e0244cbe Atsushi Nemoto    2007-05-18  120  	unsigned long a4, unsigned long a5,
8676d2e0244cbe Atsushi Nemoto    2007-05-18  121  	int flags)
8676d2e0244cbe Atsushi Nemoto    2007-05-18  122  {
9d5b7c956b09da Dominik Brodowski 2018-03-11  123  	return ksys_fadvise64_64(fd,
8676d2e0244cbe Atsushi Nemoto    2007-05-18  124  			merge_64(a2, a3), merge_64(a4, a5),
8676d2e0244cbe Atsushi Nemoto    2007-05-18  125  			flags);
8676d2e0244cbe Atsushi Nemoto    2007-05-18  126  }
8676d2e0244cbe Atsushi Nemoto    2007-05-18  127  
4dc467756e7783 Ralf Baechle      2007-07-26 @128  asmlinkage long sys32_fallocate(int fd, int mode, unsigned offset_a2,

:::::: The code at line 102 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (24247 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ