public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [jfern:nova-gsp 25/48] error: cannot find macro `register` in this scope
@ 2025-03-27  7:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-27  7:21 UTC (permalink / raw)
  To: Alexandre Courbot; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git nova-gsp
head:   8a5d4dee8e431c4d46aa04b30d0928d29a4d3522
commit: e8b2fbb30d806d93bbd9cede710958aa0b76a843 [25/48] [RFC] rust: add macros to define registers layout
config: x86_64-randconfig-072-20250327 (https://download.01.org/0day-ci/archive/20250327/202503271532.6ZuniB3h-lkp@intel.com/config)
compiler: clang version 20.1.1 (https://github.com/llvm/llvm-project 424c2d9b7e4de40d0804dd374721e6411c27d1d1)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250327/202503271532.6ZuniB3h-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/202503271532.6ZuniB3h-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error: cannot find macro `register` in this scope
   --> rust/doctests_kernel_generated.rs:3748:1
   |
   3748 | register!(Boot0@0x00000100, "Basic revision information about the chip";
   | ^^^^^^^^
   |
   help: consider importing this macro
   |
   3    + use kernel::register;
   |
--
>> error[E0425]: cannot find value `bar` in this scope
   --> rust/doctests_kernel_generated.rs:3799:26
   |
   3799 | let boot0 = Boot0::read(&bar);
   |                          ^^^ not found in this scope
--
>> error[E0425]: cannot find value `bar` in this scope
   --> rust/doctests_kernel_generated.rs:3807:49
   |
   3807 | boot0.set_major_rev(3).set_minor_rev(10).write(&bar);
   |                                                 ^^^ not found in this scope
--
>> error[E0425]: cannot find value `bar` in this scope
   --> rust/doctests_kernel_generated.rs:3810:15
   |
   3810 | Boot0::alter(&bar, |r| r.set_major_rev(3).set_minor_rev(10));
   |               ^^^ not found in this scope
--
>> error[E0433]: failed to resolve: use of undeclared type `Boot0`
   --> rust/doctests_kernel_generated.rs:3799:13
   |
   3799 | let boot0 = Boot0::read(&bar);
   |             ^^^^^ use of undeclared type `Boot0`
--
>> error[E0433]: failed to resolve: use of undeclared type `Boot0`
   --> rust/doctests_kernel_generated.rs:3810:1
   |
   3810 | Boot0::alter(&bar, |r| r.set_major_rev(3).set_minor_rev(10));
   | ^^^^^ use of undeclared type `Boot0`

-- 
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:[~2025-03-27  7:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-27  7:21 [jfern:nova-gsp 25/48] error: cannot find macro `register` in this scope kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox