[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 1/4] tools: add sizeof_field and endof_field macros



On Sat, Aug 23, 2025 at 10:26:49PM +0000, Petr Beneš wrote:
> From: Petr Beneš <w1benny@xxxxxxxxx>
> 
> * `sizeof_field` returns the size of a specific struct member
> * `endof_field` returns the offset to the end of the member within the struct
> 
> It will be useful in upcoming layout checks of SMBIOS structs.
> 
> Signed-off-by: Petr Beneš <w1benny@xxxxxxxxx>

Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

-- 
Anthony PERARD



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.