Re: [PATCH v1] rust: time: Avoid 64-bit integer division

From: Miguel Ojeda
Date: Thu May 01 2025 - 05:24:48 EST


On Thu, May 1, 2025 at 4:45 AM FUJITA Tomonori
<fujita.tomonori@xxxxxxxxx> wrote:
>
> Oops, they should call ktime_to_us() and ktime_to_ms() respectively.
>
> I'll send v2 later.

What about adding a couple examples to their docs so that they are
also tested and this would be caught?

(In another patch, possibly in another series or not. We could also
open a good first issue)

Thanks!

Cheers,
Miguel