From: kernel test robot <lkp@intel.com>
To: "Jim Cromie" <jim.cromie@gmail.com>,
" Łukasz Bartosik" <ukaszb@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jimc:scratchpad-v10 6/14] kernel/locking/lockdep.c:6754:25: error: use of undeclared identifier 'lockdep_trace_pool'
Date: Tue, 25 Aug 2026 12:36:23 +0800 [thread overview]
Message-ID: <202608251233.EWujjA0A-lkp@intel.com> (raw)
tree: https://github.com/jimc/linux.git scratchpad-v10
head: 45e5e0071e4ad7afee159e8cbe6cbe50c8db61d0
commit: 4e4680605a52c4e4bf0f7c6b0cf1455d0b26f4ed [6/14] locking/lockdep: Convert lock graph and radix tables to dynamic pools
config: hexagon-randconfig-001-20260825 (https://download.01.org/0day-ci/archive/20260825/202608251233.EWujjA0A-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260825/202608251233.EWujjA0A-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608251233.EWujjA0A-lkp@intel.com/
All errors (new ones prefixed by >>):
kernel/locking/lockdep.c:6754:10: error: use of undeclared identifier 'stack_trace'; did you mean 'skip_trace'?
6754 | sizeof(stack_trace) - lockdep_trace_pool.remaining,
| ^~~~~~~~~~~
| skip_trace
include/linux/printk.h:584:34: note: expanded from macro 'pr_info'
584 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^
include/linux/printk.h:511:60: note: expanded from macro 'printk'
511 | #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__)
| ^
include/linux/printk.h:483:19: note: expanded from macro 'printk_index_wrap'
483 | _p_func(_fmt, ##__VA_ARGS__); \
| ^
include/linux/ftrace.h:1062:19: note: 'skip_trace' declared here
1062 | static inline int skip_trace(unsigned long ip) { return 0; }
| ^
kernel/locking/lockdep.c:6755:18: error: use of undeclared identifier 'BOOTSTRAP_STACK_TRACE_ENTRIES'
6755 | (unsigned long)BOOTSTRAP_STACK_TRACE_ENTRIES);
| ^
>> kernel/locking/lockdep.c:6754:25: error: use of undeclared identifier 'lockdep_trace_pool'
6754 | sizeof(stack_trace) - lockdep_trace_pool.remaining,
| ^
3 errors generated.
vim +/lockdep_trace_pool +6754 kernel/locking/lockdep.c
6748
6749 static int __init lockdep_boot_report(void)
6750 {
6751 pr_info("lockdep: %lu/%lu bootstrap entries, %zu/%lu bootstrap traces used before buddy init, scratchrec active\n",
6752 min_t(unsigned long, nr_list_entries, BOOTSTRAP_LOCKDEP_ENTRIES),
6753 BOOTSTRAP_LOCKDEP_ENTRIES,
> 6754 sizeof(stack_trace) - lockdep_trace_pool.remaining,
6755 (unsigned long)BOOTSTRAP_STACK_TRACE_ENTRIES);
6756 return 0;
6757 }
6758 core_initcall(lockdep_boot_report);
6759
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-08-25 4:37 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=202608251233.EWujjA0A-lkp@intel.com \
--to=lkp@intel.com \
--cc=jim.cromie@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ukaszb@chromium.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 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.