* error[E0609]: no field `vm_mm` on type `bindings::vm_area_struct`
@ 2025-11-21 2:49 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-11-21 2:49 UTC (permalink / raw)
To: Alice Ryhl
Cc: llvm, oe-kbuild-all, linux-kernel, Andrew Morton,
Linux Memory Management List, Jann Horn, Andreas Hindborg,
Gary Guo
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fd95357fd8c6778ac7dea6c57a19b8b182b6e91f
commit: 040f404b731207935ed644b14bcc2bb8b8488d00 mm: rust: add vm_area_struct methods that require read access
date: 6 months ago
config: um-randconfig-001-20251121 (https://download.01.org/0day-ci/archive/20251121/202511211004.JW70Scx4-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9e9fe08b16ea2c4d9867fb4974edf2a3776d6ece)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251121/202511211004.JW70Scx4-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/202511211004.JW70Scx4-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0609]: no field `vm_mm` on type `bindings::vm_area_struct`
--> rust/kernel/mm/virt.rs:58:56
|
58 | unsafe { MmWithUser::from_raw((*self.as_ptr()).vm_mm) }
| ^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `__bindgen_anon_2` on type `bindings::vm_area_struct`
--> rust/kernel/mm/virt.rs:68:35
|
68 | unsafe { (*self.as_ptr()).__bindgen_anon_2.vm_flags }
| ^^^^^^^^^^^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `__bindgen_anon_1` on type `bindings::vm_area_struct`
--> rust/kernel/mm/virt.rs:76:35
|
76 | unsafe { (*self.as_ptr()).__bindgen_anon_1.__bindgen_anon_1.vm_start }
| ^^^^^^^^^^^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `__bindgen_anon_1` on type `bindings::vm_area_struct`
--> rust/kernel/mm/virt.rs:84:35
|
84 | unsafe { (*self.as_ptr()).__bindgen_anon_1.__bindgen_anon_1.vm_end }
| ^^^^^^^^^^^^^^^^ unknown field
|
= note: available field is: `_address`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* error[E0609]: no field `vm_mm` on type `bindings::vm_area_struct`
@ 2025-12-03 5:54 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-12-03 5:54 UTC (permalink / raw)
To: Alice Ryhl
Cc: oe-kbuild-all, linux-kernel, Andrew Morton,
Linux Memory Management List, Jann Horn, Andreas Hindborg,
Gary Guo
Hi Alice,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3f9f0252130e7dd60d41be0802bf58f6471c691d
commit: 040f404b731207935ed644b14bcc2bb8b8488d00 mm: rust: add vm_area_struct methods that require read access
date: 7 months ago
config: arm-randconfig-r121-20251201 (https://download.01.org/0day-ci/archive/20251203/202512031349.FAjXZLVU-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project b3428bb966f1de8aa48375ffee0eba04ede133b7)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251203/202512031349.FAjXZLVU-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/202512031349.FAjXZLVU-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0609]: no field `vm_mm` on type `bindings::vm_area_struct`
--> rust/kernel/mm/virt.rs:58:56
|
58 | unsafe { MmWithUser::from_raw((*self.as_ptr()).vm_mm) }
| ^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `__bindgen_anon_2` on type `bindings::vm_area_struct`
--> rust/kernel/mm/virt.rs:68:35
|
68 | unsafe { (*self.as_ptr()).__bindgen_anon_2.vm_flags }
| ^^^^^^^^^^^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `__bindgen_anon_1` on type `bindings::vm_area_struct`
--> rust/kernel/mm/virt.rs:76:35
|
76 | unsafe { (*self.as_ptr()).__bindgen_anon_1.__bindgen_anon_1.vm_start }
| ^^^^^^^^^^^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `__bindgen_anon_1` on type `bindings::vm_area_struct`
--> rust/kernel/mm/virt.rs:84:35
|
84 | unsafe { (*self.as_ptr()).__bindgen_anon_1.__bindgen_anon_1.vm_end }
| ^^^^^^^^^^^^^^^^ unknown field
|
= note: available field is: `_address`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-03 5:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-21 2:49 error[E0609]: no field `vm_mm` on type `bindings::vm_area_struct` kernel test robot
2025-12-03 5:54 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
all inboxes | Powered by JetHome®