* error[E0560]: struct `bindings::file_operations` has no field named `compat_ioctl`
@ 2025-11-30 0:47 kernel test robot
2025-12-01 10:05 ` Alice Ryhl
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-11-30 0:47 UTC (permalink / raw)
To: Alice Ryhl; +Cc: oe-kbuild-all, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6bda50f4333fa61c07f04f790fdd4e2c9f4ca610
commit: f893691e742688ae21ad597c5bba13bef54706cd rust: miscdevice: add base miscdevice abstraction
date: 1 year, 2 months ago
config: arm64-randconfig-r073-20251130 (https://download.01.org/0day-ci/archive/20251130/202511300859.35d9m0hj-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/20251130/202511300859.35d9m0hj-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/202511300859.35d9m0hj-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0560]: struct `bindings::file_operations` has no field named `compat_ioctl`
--> rust/kernel/miscdevice.rs:161:13
|
161 | compat_ioctl: if T::HAS_COMPAT_IOCTL {
| ^^^^^^^^^^^^ `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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: error[E0560]: struct `bindings::file_operations` has no field named `compat_ioctl`
2025-11-30 0:47 error[E0560]: struct `bindings::file_operations` has no field named `compat_ioctl` kernel test robot
@ 2025-12-01 10:05 ` Alice Ryhl
0 siblings, 0 replies; 2+ messages in thread
From: Alice Ryhl @ 2025-12-01 10:05 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: kernel test robot, oe-kbuild-all, linux-kernel, rust-for-linux
On Sun, Nov 30, 2025 at 08:47:52AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 6bda50f4333fa61c07f04f790fdd4e2c9f4ca610
> commit: f893691e742688ae21ad597c5bba13bef54706cd rust: miscdevice: add base miscdevice abstraction
> date: 1 year, 2 months ago
> config: arm64-randconfig-r073-20251130 (https://download.01.org/0day-ci/archive/20251130/202511300859.35d9m0hj-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/20251130/202511300859.35d9m0hj-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/202511300859.35d9m0hj-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> error[E0560]: struct `bindings::file_operations` has no field named `compat_ioctl`
> --> rust/kernel/miscdevice.rs:161:13
> |
> 161 | compat_ioctl: if T::HAS_COMPAT_IOCTL {
> | ^^^^^^^^^^^^ `bindings::file_operations` does not have this field
> |
> = note: available fields are: `_address`
Hmm, that's weird. Use of compat_ioctl in this file is guarded behind
CONFIG_COMPAT, which should be sufficient. And this doesn't seem to just
be another UML failure.
Any ideas?
Alice
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-01 10:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-30 0:47 error[E0560]: struct `bindings::file_operations` has no field named `compat_ioctl` kernel test robot
2025-12-01 10:05 ` Alice Ryhl
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.