]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: irq: move 'static bounds to traits
authorAlice Ryhl <aliceryhl@google.com>
Thu, 19 Feb 2026 09:12:29 +0000 (09:12 +0000)
committerDanilo Krummrich <dakr@kernel.org>
Tue, 3 Mar 2026 19:33:26 +0000 (20:33 +0100)
commitd1880d5f5899c572337ceb3d7e067052b22597e1
tree2d471b74f791f7bc8abed8f7707af0787e977116
parent1b9a5bc8513d081c1bfe2c096b6dc502a4660f47
rust: irq: move 'static bounds to traits

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@google.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Link: https://patch.msgid.link/20260219-irq-static-on-trait-v1-1-6ede6b743ea3@google.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/irq/request.rs