From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 1/8] eal: define container_of macro Date: Tue, 22 Nov 2016 11:19:48 +0100 Message-ID: <2433517.txJaDuniYc@xps13> References: <1479747322-5774-1-git-send-email-jblunck@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, david.marchand@6wind.com, Jan Viktorin To: Shreyansh Jain , Jan Blunck Return-path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 051225582 for ; Tue, 22 Nov 2016 11:19:50 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id g23so16892026wme.1 for ; Tue, 22 Nov 2016 02:19:50 -0800 (PST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.