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]
Date:   Sat, 26 Sep 2020 03:17:03 +0800
From:   kernel test robot <lkp@...el.com>
To:     Paul Burton <paul.burton@...s.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: arch/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:   171d4ff79f965c1f164705ef0aaea102a6ad238b
commit: 071d2f0b5419d3cf80cc8ba73ec8fe2cedc4cc0c MIPS: r4k-bugs64: Limit R4k bug checks to affected systems
date:   12 months ago
config: mips-randconfig-r024-20200926 (attached as .config)
compiler: mips64el-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
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=071d2f0b5419d3cf80cc8ba73ec8fe2cedc4cc0c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        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@...el.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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ