Files
linux/rust/kernel
FUJITA Tomonori fc38b7ff87 rust: time: Seal the HrTimerMode trait
Prevent downstream crates or drivers from implementing `HrTimerMode`
for arbitrary types, which could otherwise leads to unsupported
behavior.

Introduce a `private::Sealed` trait and implement it for all types
that implement `HrTimerMode`.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://lore.kernel.org/r/20250617232806.3950141-1-fujita.tomonori@gmail.com
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
2025-06-30 12:39:13 +02:00
..
2025-05-30 07:12:05 +02:00
2025-05-29 23:35:44 +02:00
2025-05-19 12:55:40 +05:30
2025-03-16 21:59:19 +01:00
2025-02-22 15:44:19 +01:00
2025-05-27 20:09:59 +02:00
2024-12-20 17:21:04 +01:00
2024-10-08 15:44:36 +02:00
2025-06-24 19:52:47 +02:00
2024-11-04 16:21:44 -05:00