All of lore.kernel.org
 help / color / mirror / Atom feed
* [tglx-devel:x86/fpu 26/82] arch/x86/kernel/ptrace.c:1311:13: error: no previous prototype for 'update_regset_xstate_info'
@ 2021-10-14 20:34 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-10-14 20:34 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel

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

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@intel.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@chromium.org>
:::::: CC: Ingo Molnar <mingo@kernel.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: 31015 bytes --]

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

* [tglx-devel:x86/fpu 26/82] arch/x86/kernel/ptrace.c:1311:13: error: no previous prototype for 'update_regset_xstate_info'
@ 2021-10-14 20:34 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-10-14 20:34 UTC (permalink / raw)
  To: kbuild-all

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

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@intel.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@chromium.org>
:::::: CC: Ingo Molnar <mingo@kernel.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: 31015 bytes --]

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

end of thread, other threads:[~2021-10-14 20:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14 20:34 [tglx-devel:x86/fpu 26/82] arch/x86/kernel/ptrace.c:1311:13: error: no previous prototype for 'update_regset_xstate_info' kernel test robot
2021-10-14 20:34 ` 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.