mbox series

[v3,0/7] remove 'typedef int bool'

Message ID 20200110205152.30966-1-dharmik.thakkar@arm.com (mailing list archive)
Headers show
Series remove 'typedef int bool' | expand

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

Ferruh Yigit Jan. 13, 2020, 11:14 a.m. UTC | #1
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.