On 9/8/26 09:11, Thomas Zimmermann wrote:

> when building the Rust-DRM bindings with v7.3-rc2, I get
> 
>>>>
> 
>   RUSTC L rust/kernel.o
> error[E0063]: missing field `handle_free` in initializer of
> `drm_gem_object_funcs`
>    --> /home/tzimmermann/Projekte/linux/rust/kernel/drm/gem/shmem.rs:130:52
>     |
> 130 |     const VTABLE: bindings::drm_gem_object_funcs =
> bindings::drm_gem_object_funcs {
>     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `handle_free`
> 
> error[E0063]: missing field `handle_free` in initializer of
> `drm_gem_object_funcs`
>    --> /home/tzimmermann/Projekte/linux/rust/kernel/drm/gem/mod.rs:265:58
>     |
> 265 |     const OBJECT_FUNCS: bindings::drm_gem_object_funcs =
> bindings::drm_gem_object_funcs {
>     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `handle_free`
> 
> error: aborting due to 2 previous errors
> 
> For more information about this error, try `rustc --explain E0063`.
And I already wondered if I'm the only one that is running into this, as
I reported this a few days ago already. Pseudo-patch to work around this
can be found here:
https://lore.kernel.org/all/[email protected]/

But for bisectibility I think it would be best if that fix could be
folded into the culprit.

Ciao, Thorsten

Reply via email to