[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202511211855.b00OHWgV-lkp@intel.com>
Date: Fri, 21 Nov 2025 18:14:48 +0800
From: kernel test robot <lkp@...el.com>
To: Matthew Maurer <mmaurer@...gle.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, Danilo Krummrich <dakr@...nel.org>
Subject: error[E0609]: no field `i_private` on type `bindings::inode`
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fd95357fd8c6778ac7dea6c57a19b8b182b6e91f
commit: 5e40b591cb46c0379d5406fa5548c9b2a3801353 rust: debugfs: Add support for read-only files
date: 2 months ago
config: um-randconfig-001-20251121 (https://download.01.org/0day-ci/archive/20251121/202511211855.b00OHWgV-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/202511211855.b00OHWgV-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511211855.b00OHWgV-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0609]: no field `i_private` on type `bindings::inode`
--> rust/kernel/debugfs/file_ops.rs:77:34
|
77 | let data = unsafe { (*inode).i_private };
| ^^^^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0609]: no field `private` on type `bindings::seq_file`
--> rust/kernel/debugfs/file_ops.rs:99:35
|
99 | let data = unsafe { &*((*seq).private.cast::<T>()) };
| ^^^^^^^ unknown field
|
= note: available field is: `_address`
--
>> error[E0560]: struct `bindings::file_operations` has no field named `read`
--> rust/kernel/debugfs/file_ops.rs:115:13
|
115 | read: Some(bindings::seq_read),
| ^^^^ `bindings::file_operations` does not have this field
|
= note: available fields are: `_address`
--
>> error[E0560]: struct `bindings::file_operations` has no field named `llseek`
--> rust/kernel/debugfs/file_ops.rs:116:13
|
116 | llseek: Some(bindings::seq_lseek),
| ^^^^^^ `bindings::file_operations` does not have this field
|
= note: available fields are: `_address`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists