Re: [PATCH v1] rust: time: make ClockSource unsafe trait
From: Andreas Hindborg
Date: Mon Mar 23 2026 - 07:20:56 EST
On Mon, 30 Jun 2025 22:10:11 +0900, FUJITA Tomonori wrote:
> Mark the ClockSource trait as unsafe and document its safety
> requirements. Specifically, implementers must guarantee that their
> `ktime_get()` implementation returns a value in the inclusive range
> [0, KTIME_MAX].
>
> Update all existing implementations to use `unsafe impl` with
> corresponding safety comments.
>
> [...]
Applied, thanks!
[1/1] rust: time: make ClockSource unsafe trait
commit: 67b598db7ef107d80091c4c957694b9a2feffa4c
Best regards,
--
Andreas Hindborg <a.hindborg@xxxxxxxxxx>