From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=gdiGYpQMRvvVlkY9/HxNUsaljsMQgl1JNOP1bur3N8c=; b=c/Eop8grhaYHwaLsU+AX/wmYYmFIuohqYH2w3JgEouhoEwkym9Y5/gJ3QJczjGzqZ9 qP6NbOcoCCw0p0sZxngae3nXvvD+/c/oCt1On2G2wjEDv7eYdAai6Am8ewiETDcYfDfz eTAB7nswfEVkjzmQkvSvY2291PdIwMxP1mg0tgIPNg2su8HLnbX+C7tmYMw9s4Xw0t82 dTUeEzX9DQXiMsC1S73IKaERBdwHvPONAfJ/lEETZKJAX/DI3uXow70fu7S/vbJhv7eZ X+Ae+yU+1L/5G2O3dY0zZ2KULbMT3pmwMiL1EizHi9qIMHdBYOxTmkIpiujk9wcEmQFV Aa0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=gdiGYpQMRvvVlkY9/HxNUsaljsMQgl1JNOP1bur3N8c=; b=aeAwhDz9l+mk4zhXZCQA3QIEj12OSyfYTlGGaOQSNW4zRwoqNCDKLwftHP39LKmAvY EQb2cSntvInJJD3yHwJ3Qb0npzmWCBhT4ZHgEJ9lEaWRm+eg9pGDXcv/Nwfb5kP0D5R5 lFkBeaITE+mloJVfdT1oa4QmXZ0Tu3OiPyJmwK+euJHNoQIoM9f3Bw0hpdJVZqcPQNqY 5Vf3weSYklY3qOgWxmPrjqmB+Tzr25Mo6poAyabUcLaJzGnvC8egCuzYTB6Vo5petxb3 A9/oTuXO0EERlwrepgJUl+/SCFBQpNWPhbBGv+YHW7/LJyCvrvpc6hj3ztkyQN00tNfV Tv4w== X-Gm-Message-State: AKaTC03gddIWMRvt7Jzz6clWNBaGtlGkUc+YFKUTb1MFsKc9rG9aZMcAE1mwQQBN7yq+QA1r X-Received: by 10.28.92.21 with SMTP id q21mr1760433wmb.71.1479809990638; Tue, 22 Nov 2016 02:19:50 -0800 (PST) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id t84sm2125226wmt.7.2016.11.22.02.19.49 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Nov 2016 02:19:49 -0800 (PST) From: Thomas Monjalon To: Shreyansh Jain , Jan Blunck Cc: dev@dpdk.org, david.marchand@6wind.com, Jan Viktorin Date: Tue, 22 Nov 2016 11:19:48 +0100 Message-ID: <2433517.txJaDuniYc@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1479747322-5774-1-git-send-email-jblunck@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 10:19:51 -0000 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.