> -----Original Message----- > From: Jan Viktorin [mailto:viktorin at rehivetech.com] > Sent: Tuesday, November 22, 2016 6:03 PM > To: Shreyansh Jain <shreyansh.jain at nxp.com> > Cc: Thomas Monjalon <thomas.monjalon at 6wind.com>; Jan Blunck > <jblunck at infradead.org>; dev at dpdk.org; david.marchand at 6wind.com > Subject: Re: [dpdk-dev] [PATCH v2 1/8] eal: define container_of macro > > On Tue, 22 Nov 2016 11:26:50 +0000 > Shreyansh Jain <shreyansh.jain at nxp.com> wrote: > > > > -----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. > > It's OK. Just merge it someday ;).
Actually, I meant Jan Blunck ;D I have already been using your patch since long. > > Jan > > > > > - > > Shreyansh > > > > -- > Jan Viktorin E-mail: Viktorin at RehiveTech.com > System Architect Web: www.RehiveTech.com > RehiveTech > Brno, Czech Republic