[linux-next:master 10847/10862] error[E0308]: mismatched types

kernel test robot <[email protected]> Fri, 31 Jul 2026 17:20:50 +0800
Newsgroups dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   95d6a9ccef99117115e41e9adb271243bd5e985b
commit: 2de2d480c5235c48d8b94f8cdce480df4d57073e [10847/10862] Merge branch 'slab/for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git
config: x86_64-buildonly-randconfig-004-20260731 (https://download.01.org/0day-ci/archive/20260731/[email protected]/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> error[E0308]: mismatched types
   --> rust/kernel/sync/poll.rs:175:44
   |
   175 |         unsafe { bindings::kvfree_call_rcu((*ptr).rcu.get(), ptr.cast::<ffi::c_void>()) };
   |                  ------------------------- ^^^^^^^^^^^^^^^^ expected `*mut kvfree_rcu_head`, found `*mut callback_head`
   |                  |
   |                  arguments to this function are incorrect
   |
   = note: expected raw pointer `*mut bindings::kvfree_rcu_head`
   found raw pointer `*mut bindings::callback_head`
   note: function defined here
   --> rust/bindings/bindings_generated.rs:75494:12
   |
   75494 |     pub fn kvfree_call_rcu(head: *mut kvfree_rcu_head, ptr: *mut ffi::c_void);
   |            ^^^^^^^^^^^^^^^

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for QCOM_PDR_MSG
   Depends on [n]: QCOM_SOC [=n]
   Selected by [y]:
   - QCOM_PDR_HELPERS [=y] && NET [=y]

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