* kernel/locking/lockdep.c:727:21: error: 'CONFIG_RUST' undeclared; did you mean 'CONFIG_USB'?
@ 2026-07-04 2:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-04 2:34 UTC (permalink / raw)
To: Gary Guo; +Cc: oe-kbuild-all, 0day robot
tree: https://github.com/intel-lab-lkp/linux/commits/Gary-Guo/rust-sync-introduce-a-way-to-create-lock-class-from-caller/20260703-220743
head: 090a8fd3c5e7c50a1ebd6fc2ef51e1dbaaa81378
commit: 090a8fd3c5e7c50a1ebd6fc2ef51e1dbaaa81378 lockdep: delegate Rust lock class printing to Rust code
date: 12 hours ago
config: x86_64-rhel-9.4-kselftests (https://download.01.org/0day-ci/archive/20260704/202607040403.yLeH4bDF-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260704/202607040403.yLeH4bDF-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/202607040403.yLeH4bDF-lkp@intel.com/
All errors (new ones prefixed by >>):
kernel/locking/lockdep.c: In function '__print_lock_name':
>> kernel/locking/lockdep.c:727:21: error: 'CONFIG_RUST' undeclared (first use in this function); did you mean 'CONFIG_USB'?
727 | if (CONFIG_RUST && class->name == lockdep_rust_name)
| ^~~~~~~~~~~
| CONFIG_USB
kernel/locking/lockdep.c:727:21: note: each undeclared identifier is reported only once for each function it appears in
vim +727 kernel/locking/lockdep.c
716
717 static void __print_lock_name(struct held_lock *hlock, struct lock_class *class)
718 {
719 char str[KSYM_NAME_LEN];
720 const char *name;
721
722 name = class->name;
723 if (!name) {
724 name = __get_key_name(class->key, str);
725 printk(KERN_CONT "%s", name);
726 } else {
> 727 if (CONFIG_RUST && class->name == lockdep_rust_name)
728 lockdep_print_rust_name((struct lock_class_key *)(
729 class->key - class->subclass
730 ));
731 else
732 printk(KERN_CONT "%s", name);
733 if (class->name_version > 1)
734 printk(KERN_CONT "#%d", class->name_version);
735 if (class->subclass)
736 printk(KERN_CONT "/%d", class->subclass);
737 if (hlock && class->print_fn)
738 class->print_fn(hlock->instance);
739 }
740 }
741
--
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-07-04 2:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-04 2:34 kernel/locking/lockdep.c:727:21: error: 'CONFIG_RUST' undeclared; did you mean 'CONFIG_USB'? 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.