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: <202110150446.wnfI6dp2-lkp@intel.com>
Date:   Fri, 15 Oct 2021 04:34:01 +0800
From:   kernel test robot <lkp@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [tglx-devel:x86/fpu 26/82] arch/x86/kernel/ptrace.c:1311:13: error:
 no previous prototype for 'update_regset_xstate_info'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/fpu
head:   d52a4cb09008bb5ef97de5d64ab960063365c3b7
commit: 22553a4cfe428edf5b399552abc2ffd22918c4a9 [26/82] x86/fpu: Remove internal.h dependency from fpu/signal.h
config: i386-buildonly-randconfig-r002-20211014 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id=22553a4cfe428edf5b399552abc2ffd22918c4a9
        git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
        git fetch --no-tags tglx-devel x86/fpu
        git checkout 22553a4cfe428edf5b399552abc2ffd22918c4a9
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

All errors (new ones prefixed by >>):

>> arch/x86/kernel/ptrace.c:1311:13: error: no previous prototype for 'update_regset_xstate_info' [-Werror=missing-prototypes]
    1311 | void __init update_regset_xstate_info(unsigned int size, u64 xstate_mask)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/update_regset_xstate_info +1311 arch/x86/kernel/ptrace.c

5b3efd500854d4 Suresh Siddha 2010-02-11  1310  
404f6aac9b3ef5 Kees Cook     2016-08-08 @1311  void __init update_regset_xstate_info(unsigned int size, u64 xstate_mask)
5b3efd500854d4 Suresh Siddha 2010-02-11  1312  {
5b3efd500854d4 Suresh Siddha 2010-02-11  1313  #ifdef CONFIG_X86_64
5b3efd500854d4 Suresh Siddha 2010-02-11  1314  	x86_64_regsets[REGSET_XSTATE].n = size / sizeof(u64);
5b3efd500854d4 Suresh Siddha 2010-02-11  1315  #endif
5b3efd500854d4 Suresh Siddha 2010-02-11  1316  #if defined CONFIG_X86_32 || defined CONFIG_IA32_EMULATION
5b3efd500854d4 Suresh Siddha 2010-02-11  1317  	x86_32_regsets[REGSET_XSTATE].n = size / sizeof(u64);
5b3efd500854d4 Suresh Siddha 2010-02-11  1318  #endif
5b3efd500854d4 Suresh Siddha 2010-02-11  1319  	xstate_fx_sw_bytes[USER_XSTATE_XCR0_WORD] = xstate_mask;
5b3efd500854d4 Suresh Siddha 2010-02-11  1320  }
5b3efd500854d4 Suresh Siddha 2010-02-11  1321  

:::::: The code at line 1311 was first introduced by commit
:::::: 404f6aac9b3ef595735feca99979db084ea48315 x86: Apply more __ro_after_init and const

:::::: TO: Kees Cook <keescook@...omium.org>
:::::: CC: Ingo Molnar <mingo@...nel.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" (31015 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ