From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.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'
Date: Fri, 15 Oct 2021 04:34:01 +0800 [thread overview]
Message-ID: <202110150446.wnfI6dp2-lkp@intel.com> (raw)
[-- 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 --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [tglx-devel:x86/fpu 26/82] arch/x86/kernel/ptrace.c:1311:13: error: no previous prototype for 'update_regset_xstate_info'
Date: Fri, 15 Oct 2021 04:34:01 +0800 [thread overview]
Message-ID: <202110150446.wnfI6dp2-lkp@intel.com> (raw)
[-- 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 --]
next reply other threads:[~2021-10-14 20:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-14 20:34 kernel test robot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202110150446.wnfI6dp2-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.