All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/mips/kernel/linux32.c:102:20: warning: no previous prototype for 'sys32_readahead'
@ 2021-09-28 13:36 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-28 13:36 UTC (permalink / raw)
  To: Lauri Kasanen; +Cc: kbuild-all, linux-kernel, Thomas Bogendoerfer

[-- Attachment #1: Type: text/plain, Size: 5480 bytes --]

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@intel.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@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* arch/mips/kernel/linux32.c:102:20: warning: no previous prototype for 'sys32_readahead'
@ 2021-09-28 13:36 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-28 13:36 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 5576 bytes --]

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@intel.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@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 24247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-28 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 13:36 arch/mips/kernel/linux32.c:102:20: warning: no previous prototype for 'sys32_readahead' kernel test robot
2021-09-28 13:36 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.