From: kernel test robot <lkp@intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [peterz-queue:x86/core 2/2] arch/x86/kernel/traps.c:468:38: error: use of undeclared identifier 'address'
Date: Thu, 16 Sep 2021 06:51:58 +0800 [thread overview]
Message-ID: <202109160656.U2gBtXEj-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2535 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/core
head: 647d1adb49f099ced76b510d55365be7f3063341
commit: 647d1adb49f099ced76b510d55365be7f3063341 [2/2] x86/dumpstack/64: Add guard pages to stack_info
config: x86_64-randconfig-r005-20210916 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 8cbbd7e0b2aa21ce7e416cfb63d9965518948c35)
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/peterz/queue.git/commit/?id=647d1adb49f099ced76b510d55365be7f3063341
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue x86/core
git checkout 647d1adb49f099ced76b510d55365be7f3063341
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
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/traps.c:468:38: error: use of undeclared identifier 'address'
if (get_stack_info_noinstr((void *)address, current, &info) &&
^
arch/x86/kernel/traps.c:472:20: error: use of undeclared identifier 'address'
name, (void *)address, info.begin, info.end);
^
2 errors generated.
vim +/address +468 arch/x86/kernel/traps.c
463
464 #ifdef CONFIG_X86_64
465 {
466 struct stack_info info;
467
> 468 if (get_stack_info_noinstr((void *)address, current, &info) &&
469 info.type & STACK_TYPE_GUARD) {
470 const char *name = stack_type_name(info.type & ~STACK_TYPE_GUARD);
471 pr_emerg("BUG: %s stack guard hit at %p (stack is %p..%p)\n",
472 name, (void *)address, info.begin, info.end);
473 }
474 }
475 #endif
476
477 pr_emerg("PANIC: double fault, error_code: 0x%lx\n", error_code);
478 die("double fault", regs, error_code);
479 panic("Machine halted.");
480 instrumentation_end();
481 }
482
---
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: 34684 bytes --]
reply other threads:[~2021-09-15 22:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202109160656.U2gBtXEj-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=peterz@infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®