Re: [PATCH v2 2/4] rust: time: add msecs to jiffies conversion

From: Alice Ryhl
Date: Thu Jan 04 2024 - 08:53:22 EST


On Mon, Dec 18, 2023 at 10:07 PM Boqun Feng <boqun.feng@xxxxxxxxx> wrote:
>
> On Sat, Dec 16, 2023 at 03:31:40PM +0000, Alice Ryhl wrote:
> [...]
> > diff --git a/rust/kernel/time.rs b/rust/kernel/time.rs
> > new file mode 100644
> > index 000000000000..23c4d1a74f68
> > --- /dev/null
> > +++ b/rust/kernel/time.rs
> > @@ -0,0 +1,17 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > +
> > +//! Timers.
> > +
>
> Please consider the following mod level description:
>
> //! Time related primitives.
> //!
> //! This module contains the kernel APIs related to time and timers that
> //! have been ported or wrapped for usage by Rust code in the kernel.
>
> Otherwise it looks fine to me.
>
> Reviewed-by: Boqun Feng <boqun.feng@xxxxxxxxx>

Sure, that sounds good to me. I'll update the module description and
add your tag.

Alice