Re: [PATCH] bpf/tests: Use struct_size()

From: Yonghong Song
Date: Wed May 31 2023 - 02:09:14 EST




On 5/30/23 9:32 PM, Su Hui wrote:
Use struct_size() instead of hand writing it.
This is less verbose and more informative.

Signed-off-by: Su Hui <suhui@xxxxxxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>