[PATCH] drivers: use common container_of macro
Tyler Retzlaff
roretzla at linux.microsoft.com
Tue Feb 13 17:57:10 CET 2024
On Tue, Feb 13, 2024 at 04:37:41PM +0100, David Marchand wrote:
> rte_common.h provides container_of if none is defined.
>
> The drivers headers touched by this commit either already include
> rte_common.h or use some other common macro defined in rte_common.h.
> As a consequence, it seems safe to assume that container_of is always
> available for includers of those headers.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
Reviewed-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
More information about the dev
mailing list