Files
linux/rust/kernel
John Hubbard 0a51b384e0 rust: ptr: add const_align_up()
Add const_align_up() to kernel::ptr as the const-compatible equivalent
of Alignable::align_up().

Suggested-by: Danilo Krummrich <dakr@kernel.org>
Suggested-by: Gary Guo <gary@garyguo.net>
Suggested-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260326013902.588242-17-jhubbard@nvidia.com
[ Adjusted imports style. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2026-04-03 11:57:35 +02:00
..
2025-11-05 00:05:38 +01:00
2025-11-29 10:41:09 -08:00
2026-03-30 02:03:49 +02:00
2025-11-04 13:25:29 +01:00
2025-07-23 02:05:58 +02:00
2025-09-06 13:27:20 +02:00
2026-02-01 22:18:24 +01:00
2026-03-30 02:03:49 +02:00
2026-01-30 05:47:05 +01:00
2025-08-21 16:58:07 +02:00
2026-04-03 11:57:35 +02:00
2025-12-28 12:43:56 +01:00
2024-11-04 16:21:44 -05:00