[PATCH] drivers: use common container_of macro

David Marchand david.marchand at redhat.com
Wed Feb 14 13:20:51 CET 2024


On Tue, Feb 13, 2024 at 4:38 PM David Marchand
<david.marchand at redhat.com> 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>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list