All of lore.kernel.org
 help / color / mirror / Atom feed
* [jimc:scratchpad-v10 6/14] kernel/locking/lockdep.c:6754:25: error: use of undeclared identifier 'lockdep_trace_pool'
@ 2026-08-25  4:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-25  4:36 UTC (permalink / raw)
  To: Jim Cromie,  Łukasz Bartosik; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-25  4:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-25  4:36 [jimc:scratchpad-v10 6/14] kernel/locking/lockdep.c:6754:25: error: use of undeclared identifier 'lockdep_trace_pool' 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.