Re: [PATCH] rust: alloc: fix `rusttest` by providing `Cmalloc::aligned_layout` too
From: Danilo Krummrich
Date: Sat Aug 16 2025 - 19:38:00 EST
On Sat Aug 16, 2025 at 10:42 PM CEST, Miguel Ojeda wrote:
> Commit fde578c86281 ("rust: alloc: replace aligned_size() with
> Kmalloc::aligned_layout()") provides a public `aligned_layout` function
> in `Kamlloc`, but not in `Cmalloc`, and thus uses of it will trigger an
> error in `rusttest`.
Good catch, thanks! -- Applied to drm-misc-fixes.