lkml.org 
[lkml]   [2020]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectarch/mips/kernel/r4k-bugs64.c:171:24: warning: no previous prototype for 'do_daddi_ov'
Hi Paul,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 92ed301919932f777713b9172e525674157e983d
commit: 071d2f0b5419d3cf80cc8ba73ec8fe2cedc4cc0c MIPS: r4k-bugs64: Limit R4k bug checks to affected systems
date: 10 months ago
config: mips-randconfig-r024-20200727 (attached as .config)
compiler: mips64-linux-gcc (GCC) 9.3.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
git checkout 071d2f0b5419d3cf80cc8ba73ec8fe2cedc4cc0c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.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/r4k-bugs64.c:171:24: warning: no previous prototype for 'do_daddi_ov' [-Wmissing-prototypes]
171 | asmlinkage void __init do_daddi_ov(struct pt_regs *regs)
| ^~~~~~~~~~~

vim +/do_daddi_ov +171 arch/mips/kernel/r4k-bugs64.c

^1da177e4c3f41 arch/mips/kernel/cpu-bugs64.c Linus Torvalds 2005-04-16 170
^1da177e4c3f41 arch/mips/kernel/cpu-bugs64.c Linus Torvalds 2005-04-16 @171 asmlinkage void __init do_daddi_ov(struct pt_regs *regs)
^1da177e4c3f41 arch/mips/kernel/cpu-bugs64.c Linus Torvalds 2005-04-16 172 {
c3fc5cd5c5a5f4 arch/mips/kernel/cpu-bugs64.c Ralf Baechle 2013-05-29 173 enum ctx_state prev_state;
c3fc5cd5c5a5f4 arch/mips/kernel/cpu-bugs64.c Ralf Baechle 2013-05-29 174
c3fc5cd5c5a5f4 arch/mips/kernel/cpu-bugs64.c Ralf Baechle 2013-05-29 175 prev_state = exception_enter();
^1da177e4c3f41 arch/mips/kernel/cpu-bugs64.c Linus Torvalds 2005-04-16 176 daddi_ov = 1;
^1da177e4c3f41 arch/mips/kernel/cpu-bugs64.c Linus Torvalds 2005-04-16 177 regs->cp0_epc += 4;
c3fc5cd5c5a5f4 arch/mips/kernel/cpu-bugs64.c Ralf Baechle 2013-05-29 178 exception_exit(prev_state);
^1da177e4c3f41 arch/mips/kernel/cpu-bugs64.c Linus Torvalds 2005-04-16 179 }
^1da177e4c3f41 arch/mips/kernel/cpu-bugs64.c Linus Torvalds 2005-04-16 180

:::::: The code at line 171 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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2020-07-27 11:28    [W:0.383 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site