All of lore.kernel.org
 help / color / mirror / Atom feed
* [jfern:nova/dev-bitstruct 21/21] error: cannot find macro `bitfield` in this scope
@ 2025-09-10  1:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-10  1:59 UTC (permalink / raw)
  To: Joel Fernandes; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git nova/dev-bitstruct
head:   6057391d7392c11cd5f8c33c41a5704e68504ab7
commit: 354bc8b929b01ff2c5a095d0599346743c5cfa2d [21/21] rust: Move register and bitfield macros out of Nova
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250910/202509100920.CWJrFk1g-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250910/202509100920.CWJrFk1g-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/202509100920.CWJrFk1g-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error: cannot find macro `bitfield` in this scope
   --> rust/doctests_kernel_generated.rs:2570:1
   |
   2570 | bitfield! {
   | ^^^^^^^^
   |
   help: consider importing this macro
   |
   3    + use kernel::bitfield;
   |
--
>> error: cannot find macro `register` in this scope
   --> rust/doctests_kernel_generated.rs:6194:1
   |
   6194 | register!(CPU_CTL @ CpuCtlBase[0x10], "CPU core control" {
   | ^^^^^^^^
   |
   help: consider importing this macro
   |
   3    + use kernel::register;
   |
--
>> error: cannot find macro `register` in this scope
   --> rust/doctests_kernel_generated.rs:6408:1
   |
   6408 | register!(CPU_SCRATCH_INTERLEAVED_1 @ CpuCtlBase[0x00000d04[16 ; 8]],
   | ^^^^^^^^
   |
   help: consider importing this macro
   |
   3    + use kernel::register;
   |
--
>> error: cannot find macro `register` in this scope
   --> rust/doctests_kernel_generated.rs:6463:1
   |
   6463 | register!(BOOT_0 @ 0x00000100, "Basic revision information about the GPU" {
   | ^^^^^^^^
   |
   help: consider importing this macro
   |
   3    + use kernel::register;
   |
--
>> error: cannot find macro `register` in this scope
   --> rust/doctests_kernel_generated.rs:6579:1
   |
   6579 | register!(SCRATCH @ 0x00000200, "Scratch register" {
   | ^^^^^^^^
   |
   help: consider importing this macro
   |
   3    + use kernel::register;
   |
--
>> error: cannot find macro `register` in this scope
   --> rust/doctests_kernel_generated.rs:6583:1
   |
   6583 | register!(SCRATCH_BOOT_STATUS => SCRATCH, "Boot status of the firmware" {
   | ^^^^^^^^
   |
   help: consider importing this macro
   |
   3    + use kernel::register;
   |
--
>> error[E0405]: cannot find trait `RegisterBase` in this scope
   --> rust/doctests_kernel_generated.rs:6179:6
   |
   6179 | impl RegisterBase<CpuCtlBase> for Cpu0 {
   |      ^^^^^^^^^^^^ not found in this scope
   |
   help: consider importing this trait
   |
   3    + use kernel::io::register::RegisterBase;
   |
--
>> error[E0405]: cannot find trait `RegisterBase` in this scope
   --> rust/doctests_kernel_generated.rs:6187:6
   |
   6187 | impl RegisterBase<CpuCtlBase> for Cpu1 {
   |      ^^^^^^^^^^^^ not found in this scope
   |
   help: consider importing this trait
   |
   3    + use kernel::io::register::RegisterBase;
   |
--
>> error[E0425]: cannot find value `bar` in this scope
   --> rust/doctests_kernel_generated.rs:6203:16
   |
   6203 | CPU_CTL::alter(bar, &CPU0, |r| r.set_start(true));
   |                ^^^ not found in this scope
--
>> error[E0425]: cannot find value `bar` in this scope
   --> rust/doctests_kernel_generated.rs:6206:16
   |
   6206 | CPU_CTL::alter(bar, &CPU1, |r| r.set_start(true));
   |                ^^^ not found in this scope
--
>> error[E0425]: cannot find value `bar` in this scope
   --> rust/doctests_kernel_generated.rs:6214:22
   |
   6214 | CPU_CTL_ALIAS::alter(bar, &CPU0, |r| r.set_alias_start(true));
   |                      ^^^ not found in this scope
..

-- 
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-09-10  2:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-10  1:59 [jfern:nova/dev-bitstruct 21/21] error: cannot find macro `bitfield` in this scope 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.