Re: [PATCH v2] rust: alloc: satisfy `aligned_alloc` requirements

Miguel Ojeda
2025-02-06T18:20:33Z

On Thu, Feb 6, 2025 at 7:04 PM Danilo Krummrich <dakr@kernel.org> wrote:
>
> I previously checked man posix_memalign(3) and it says:
>
> ERRORS
> EINVAL The alignment argument was not a power of two, or was not a
> multiple of sizeof(void *).

Yeah, but that may not apply to `alligned_alloc` as far as I can see.

Cheers,
Miguel