Re: [PATCH v3 4/4] rust: make `build_assert` module the home of related macros

From: Miguel Ojeda

Date: Sun Mar 22 2026 - 19:37:12 EST


On Thu, Mar 19, 2026 at 1:17 PM Gary Guo <gary@xxxxxxxxxx> wrote:
>
> rust/kernel/net/phy/reg.rs | 8 +++++---

Tomonori: are you OK with these changes?

> rust/kernel/num/bounded.rs | 2 +-

Alexandre: are you OK with these changes?

> rust/kernel/sync/atomic/internal.rs | 9 ++++++---
> rust/kernel/sync/atomic/predefine.rs | 2 +-
> rust/kernel/sync/locked_by.rs | 2 +-
> rust/kernel/sync/refcount.rs | 8 +++++---

Boqun: are you OK with these changes?

> rust/kernel/xarray.rs | 10 ++++++++--

Tamir, Andreas: are you OK with these changes?

> - transmute::{AsBytes, FromBytes},
> + transmute::{AsBytes, FromBytes}, //

Nit: We should take the chance to expand this.

Thanks all!

Cheers,
Miguel