* [jimc:scratchpad-v10 13/24] kernel/locking/lockdep.c:71:71: error: macro "SCRATCHREC_INIT_STATIC" passed 7 arguments, but takes just 6
@ 2026-08-23 12:16 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-23 12:16 UTC (permalink / raw)
To: Jim Cromie, Łukasz Bartosik; +Cc: oe-kbuild-all
tree: https://github.com/jimc/linux.git scratchpad-v10
head: a23fc077806416450fbeb0a5a534fd995e465430
commit: c64a3f08a0141ea44aaf52cb647a97400c5e1dd0 [13/24] locking/lockdep: Allocate list_entries from static bootstrap scratchrec pool
config: x86_64-randconfig-006-20260822 (https://download.01.org/0day-ci/archive/20260823/202608230503.SupGrB5G-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260823/202608230503.SupGrB5G-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/202608230503.SupGrB5G-lkp@intel.com/
Note: the jimc/scratchpad-v10 HEAD a23fc077806416450fbeb0a5a534fd995e465430 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
>> kernel/locking/lockdep.c:71:71: error: macro "SCRATCHREC_INIT_STATIC" passed 7 arguments, but takes just 6
71 | SCRATCH_64K_ORDER, 0, &lockdep_pool_key);
| ^
In file included from kernel/locking/lockdep.c:61:
include/linux/scratchpad.h:360: note: macro "SCRATCHREC_INIT_STATIC" defined here
360 | #define SCRATCHREC_INIT_STATIC(name, _elem_size, _static_buf, _size_bytes, _min_order, _key) \
|
>> kernel/locking/lockdep.c:69:9: error: 'SCRATCHREC_INIT_STATIC' undeclared here (not in a function)
69 | SCRATCHREC_INIT_STATIC(lockdep_pool, sizeof(struct lock_list),
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/SCRATCHREC_INIT_STATIC +71 kernel/locking/lockdep.c
66
67 DEFINE_STATIC_KEY_TRUE(lockdep_pool_key);
68 static struct scratchrec lockdep_pool =
> 69 SCRATCHREC_INIT_STATIC(lockdep_pool, sizeof(struct lock_list),
70 list_entries, sizeof(list_entries),
> 71 SCRATCH_64K_ORDER, 0, &lockdep_pool_key);
72
--
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-23 12:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-23 12:16 [jimc:scratchpad-v10 13/24] kernel/locking/lockdep.c:71:71: error: macro "SCRATCHREC_INIT_STATIC" passed 7 arguments, but takes just 6 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.