Re: [PATCH v2] ovl: Replace offsetof() with struct_size() in ovl_stack_free()

From: Miklos Szeredi
Date: Mon May 05 2025 - 08:06:00 EST


On Sat, 3 May 2025 at 13:53, Thorsten Blum <thorsten.blum@xxxxxxxxx> wrote:
>
> Compared to offsetof(), struct_size() provides additional compile-time
> checks for structs with flexible arrays (e.g., __must_be_array()).
>
> No functional changes intended.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>

Applied, thanks.

Miklos