Re: [PATCH v2] rust: page: add Rust version of PAGE_ALIGN

From: Miguel Ojeda
Date: Mon Oct 21 2024 - 14:14:12 EST


On Wed, Oct 16, 2024 at 1:34 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> This is a useful for helper for working with indices into buffers that
> consist of several pages. I forgot to include it when I added PAGE_SIZE
> and PAGE_MASK for the same purpose in commit fc6e66f4696b ("rust: add
> abstraction for `struct page`").
>
> Reviewed-by: Boqun Feng <boqun.feng@xxxxxxxxx>
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>

Applied to `rust-next` -- thanks everyone!

[ Added intra-doc links, formatted comment. - Miguel ]

Cheers,
Miguel