Re: [PATCH] rust: irq: move 'static bounds to traits
From: Benno Lossin
Date: Thu Feb 19 2026 - 10:52:48 EST
On Thu Feb 19, 2026 at 10:12 AM CET, Alice Ryhl wrote:
> The 'static bound is required by all irq handlers, so it is simpler to
> specify it on the trait declaration instead of repeating it every time
> the trait is used as a where clause. Note that we already list Sync on
> the trait bound for the same reason.
>
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
Reviewed-by: Benno Lossin <lossin@xxxxxxxxxx>
Cheers,
Benno
> ---
> Follow up to:
> https://lore.kernel.org/all/20260214092740.3201946-1-lossin@xxxxxxxxxx/
> ---
> rust/kernel/irq/request.rs | 28 +++++++++++-----------------
> 1 file changed, 11 insertions(+), 17 deletions(-)