error[E0609]: no field `compat_ioctl` on type `bindings::file_operations`

From: kernel test robot

Date: Sat Nov 29 2025 - 22:11:43 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6bda50f4333fa61c07f04f790fdd4e2c9f4ca610
commit: c284d3e423382be3591d5b1e402e330e6c3f726c rust: drm: gem: Add GEM object abstraction
date: 7 months ago
config: arm64-randconfig-r073-20251130 (https://download.01.org/0day-ci/archive/20251130/202511301150.yTtGf0OP-lkp@xxxxxxxxx/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/202511301150.yTtGf0OP-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511301150.yTtGf0OP-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> error[E0609]: no field `compat_ioctl` on type `bindings::file_operations`
--> rust/kernel/drm/gem/mod.rs:311:14
|
311 | fops.compat_ioctl = Some(bindings::drm_compat_ioctl);
| ^^^^^^^^^^^^ unknown field
|
= note: available field is: `_address`

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki