Message ID | 20200110205152.30966-1-dharmik.thakkar@arm.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 22703A04F9; Fri, 10 Jan 2020 21:52:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 12BB81EBA1; Fri, 10 Jan 2020 21:52:11 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 28D071EB9F for <dev@dpdk.org>; Fri, 10 Jan 2020 21:52:09 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 47A8230E; Fri, 10 Jan 2020 12:52:09 -0800 (PST) Received: from 2p2660v4-1.austin.arm.com (2p2660v4-1.austin.arm.com [10.118.12.29]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3DE1D3F534; Fri, 10 Jan 2020 12:52:09 -0800 (PST) From: Dharmik Thakkar <dharmik.thakkar@arm.com> To: Cc: dev@dpdk.org, nd@arm.com, Dharmik Thakkar <dharmik.thakkar@arm.com> Date: Fri, 10 Jan 2020 14:51:45 -0600 Message-Id: <20200110205152.30966-1-dharmik.thakkar@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200102174838.12908-1-dharmik.thakkar@arm.com> References: <20200102174838.12908-1-dharmik.thakkar@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/7] remove 'typedef int bool' X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
remove 'typedef int bool'
|
|
Message
Dharmik Thakkar
Jan. 10, 2020, 8:51 p.m. UTC
Replace 'typedef int bool' with 'stdbool.h' Thus, avoid future compilation problems when 'stdbool.h' gets included in these files. --- v3: - Rebase on dpdk-next-net - Fix build issue in net/ixgbe --- v2: - Remove 'typedef int bool' from other drivers --- Dharmik Thakkar (7): net/ixgbe: avoid multpile definitions of 'bool' net/cxgbe: remove 'typedef int bool' net/vmxnet3: remove 'typedef int bool' net/bnx2x: remove 'typedef int bool' net/e1000: remove 'typedef int bool' net/fm10k: remove 'typedef int bool' net/qede: remove 'typedef int bool' drivers/net/bnx2x/bnx2x_ethdev.h | 4 +-- drivers/net/bnx2x/ecore_sp.c | 46 ++++++++++++------------ drivers/net/cxgbe/cxgbe_compat.h | 4 +-- drivers/net/cxgbe/cxgbe_main.c | 13 +++---- drivers/net/e1000/base/e1000_osdep.h | 5 +-- drivers/net/fm10k/base/fm10k_osdep.h | 8 +---- drivers/net/fm10k/fm10k_ethdev.c | 6 ++-- drivers/net/ixgbe/base/ixgbe_osdep.h | 4 +-- drivers/net/ixgbe/ixgbe_ethdev.c | 10 +++--- drivers/net/qede/base/bcm_osal.h | 5 +-- drivers/net/qede/base/ecore_vf.c | 2 +- drivers/net/qede/qede_ethdev.c | 2 +- drivers/net/vmxnet3/base/vmxnet3_defs.h | 6 ++-- drivers/net/vmxnet3/base/vmxnet3_osdep.h | 4 +-- 14 files changed, 52 insertions(+), 67 deletions(-)
Comments
On 1/10/2020 8:51 PM, Dharmik Thakkar wrote: > Replace 'typedef int bool' with 'stdbool.h' > Thus, avoid future compilation problems when 'stdbool.h' > gets included in these files. > > --- > v3: > - Rebase on dpdk-next-net > - Fix build issue in net/ixgbe > --- > v2: > - Remove 'typedef int bool' from other drivers > --- > > Dharmik Thakkar (7): > net/ixgbe: avoid multpile definitions of 'bool' > net/cxgbe: remove 'typedef int bool' > net/vmxnet3: remove 'typedef int bool' > net/bnx2x: remove 'typedef int bool' > net/e1000: remove 'typedef int bool' > net/fm10k: remove 'typedef int bool' > net/qede: remove 'typedef int bool' For series, Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> Series applied to dpdk-next-net/master, thanks.