[PATCH] eal: fix missing type in dtor macro expansion

Morten Brørup mb at smartsharesystems.com
Tue Apr 16 20:16:53 CEST 2024


> From: Tyler Retzlaff [mailto:roretzla at linux.microsoft.com]
> Sent: Tuesday, 16 April 2024 18.33
> 
> RTE_FINI expansion failed to specify void * type for storage of
> destructor function pointer resulting it defaulting to type ``int``.
> 
> Update the macro to specify ``void *`` as the type so the correct size
> is allocated in the segment.
> 
> Fixes: 64eff943ca82 ("eal: implement constructors for MSVC")
> Cc: roretzla at linux.microsoft.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> ---

Acked-by: Morten Brørup <mb at smartsharesystems.com>



More information about the stable mailing list