Re: [PATCH 6.18.y 5/5] rust: irq: pass RegistrationInner as cookie to request_irq
From: Sasha Levin
Date: Tue Oct 06 2026 - 17:36:14 EST
> This is not needed in mainline because commit 98c63ce4d760 ("rust: irq:
> make Registration compatible with lifetime-bound drivers") removed
> Devres from irq::Registration.
7.2 has the same uninitialized read. Devres::new() returns Result<Self>
there as well, since ba268514ea14 ("rust: devres: fix race condition due
to nesting") is already in v7.0, and the refactor you cite only arrives in
v7.3. This patch does not apply to 7.2 as is, because d1880d5f5899 ("rust:
irq: move 'static bounds to traits") moved the context lines.
Could you send a 7.2.y variant of this patch? We will queue the 6.18
series together with it.
--
Thanks,
Sasha