Re: rust compile failure in next-20260730

From: Vlastimil Babka (SUSE)

Date: Wed Aug 05 2026 - 12:30:45 EST


On 8/5/26 18:24, Miguel Ojeda wrote:
> On Tue, Aug 4, 2026 at 12:35 PM Vlastimil Babka (SUSE)
> <vbabka@xxxxxxxxxx> wrote:
>>
>> Thanks. The slab/for-next branch now includes the slab changes.
>> The merge commit should thus perform the rust/kernel/sync/poll.rs change.
>
> I don't see it in next-20260805 -- Mark, could we please get the last
> diff hunk from:
>
> https://lore.kernel.org/all/11a8bf75-8fc1-4d32-a350-6bf8156dd8ab@xxxxxxxxxx/
>
> applied tomorrow in the char-misc-next merge? i.e.
>
> - rcu: Opaque<bindings::callback_head>,
> + rcu: Opaque<bindings::kvfree_rcu_head>,
>
> in `rust/kernel/sync/poll.rs`.

I was just asking Mark about it on IRC and sent the fix as he asked:
https://lore.kernel.org/all/20260805-slab-rust-fix-v1-1-c4d4c1b69de2@xxxxxxxxxx/

> Thanks!
>
> Cheers,
> Miguel