[dpdk-dev] [PATCH v2 1/8] eal: define container_of macro
thomas.monjalon at 6wind.com
Tue Nov 22 11:19:48 CET 2016
2016-11-22 15:33, Shreyansh Jain:
> On Monday 21 November 2016 10:25 PM, Jan Blunck wrote:
> > This macro is based on Jan Viktorin's original patch but also checks the
> > type of the passed pointer against the type of the member.
> > Signed-off-by: Jan Viktorin <viktorin at rehivetech.com>
> > Signed-off-by: Shreyansh Jain <shreyansh.jain at nxp.com>
> > [jblunck at infradead.org: add type checking and __extension__]
> > Signed-off-by: Jan Blunck <jblunck at infradead.org>
> I will start using this in my patchset.
> Acked-by: Shreyansh Jain <shreyansh.jain at nxp.com>
It is a bit strange to have this patch in a series which do
not use it. I am in favor of getting it when it is used
(and included) in another series.
More information about the dev