From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wes1-so2.wedos.net (wes1-so2-b.wedos.net [46.28.106.45]) by dpdk.org (Postfix) with ESMTP id 08E4647D2 for ; Tue, 22 Nov 2016 13:33:26 +0100 (CET) Received: from jvn (dynamic-109-81-211-249.ipv4.broadband.iol.cz [109.81.211.249]) by wes1-so2.wedos.net (Postfix) with ESMTPSA id 3tNPyZ4M4jz2hT; Tue, 22 Nov 2016 13:33:26 +0100 (CET) Date: Tue, 22 Nov 2016 13:33:23 +0100 From: Jan Viktorin To: Shreyansh Jain Cc: Thomas Monjalon , Jan Blunck , "dev@dpdk.org" , "david.marchand@6wind.com" Message-ID: <20161122133323.33feb23c@jvn> In-Reply-To: References: <1479747322-5774-1-git-send-email-jblunck@infradead.org> <2433517.txJaDuniYc@xps13> Organization: RehiveTech X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 1/8] eal: define container_of macro X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2016 12:33:27 -0000 On Tue, 22 Nov 2016 11:26:50 +0000 Shreyansh Jain wrote: > > -----Original Message----- > > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > Sent: Tuesday, November 22, 2016 3:50 PM > > To: Shreyansh Jain ; Jan Blunck > > > > Cc: dev@dpdk.org; david.marchand@6wind.com; Jan Viktorin > > > > 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 > > > > Signed-off-by: Shreyansh Jain > > > > [jblunck@infradead.org: add type checking and __extension__] > > > > Signed-off-by: Jan Blunck > > > > > > I will start using this in my patchset. > > > > > > Acked-by: Shreyansh Jain > > > > 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 ;). Jan > > - > Shreyansh -- Jan Viktorin E-mail: Viktorin@RehiveTech.com System Architect Web: www.RehiveTech.com RehiveTech Brno, Czech Republic