Re: [PATCH] rust: irq: add `'static` bounds to irq callbacks
From: Danilo Krummrich
Date: Sat Feb 14 2026 - 07:18:43 EST
On Sat Feb 14, 2026 at 12:56 PM CET, Benno Lossin wrote:
> Oh yeah I forgot about that, good catch. I think it should be
>
> Fixes: 29e16fcd67ee ("rust: irq: add &Device<Bound> argument to irq callbacks")
>
> Since that introduces the usage of the `[Threaded]Registration` types
> in the function bodies.
>
> It can also be backported further, but then it needs to be split into
> threaded and non-threaded variants:
All commits were introduced in v6.18, so technically there is no "backported
further".
But IIUC, with a fixed compiler, it also would not compile without commit
29e16fcd67ee ("rust: irq: add &Device<Bound> argument to irq callbacks"),
correct? I.e. the two commits below are the correct Fixes: tags.
> - 135d40523244 ("rust: irq: add support for threaded IRQs and handlers")
> - 0851d34a8cc3 ("rust: irq: add support for non-threaded IRQs and handlers")