[dpdk-dev] [PATCH v2 1/8] eal: define container_of macro
shreyansh.jain at nxp.com
Tue Nov 22 12:26:50 CET 2016
> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> Sent: Tuesday, November 22, 2016 3:50 PM
> To: Shreyansh Jain <shreyansh.jain at nxp.com>; Jan Blunck
> <jblunck at infradead.org>
> Cc: dev at dpdk.org; david.marchand at 6wind.com; Jan Viktorin
> <viktorin at rehivetech.com>
> Subject: Re: [dpdk-dev] [PATCH v2 1/8] eal: define container_of macro
> 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.
I can add this patch to my series, if Jan is ok about this.
More information about the dev