* [PATCH v2 2/6] common/mlx5: fix the curly braces mismatch problem
[not found] <20220207123701.3281556-1-liwg06@foxmail.com>
@ 2022-02-07 12:36 ` Weiguo Li
2022-02-07 12:36 ` [PATCH v2 3/6] net/cxgbe: " Weiguo Li
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Weiguo Li @ 2022-02-07 12:36 UTC (permalink / raw)
To: dev; +Cc: bruce.richardson, talshn
Remove the incomplete cplusplus guard in internal headers.
Fixes: 7525ebd8ebb0 ("common/mlx5: add glue functions on Windows")
Cc: talshn@nvidia.com
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
---
drivers/common/mlx5/windows/mlx5_win_defs.h | 4 ----
drivers/common/mlx5/windows/mlx5_win_ext.h | 4 ----
2 files changed, 8 deletions(-)
diff --git a/drivers/common/mlx5/windows/mlx5_win_defs.h b/drivers/common/mlx5/windows/mlx5_win_defs.h
index 9f709ff30d..3554e4a7ff 100644
--- a/drivers/common/mlx5/windows/mlx5_win_defs.h
+++ b/drivers/common/mlx5/windows/mlx5_win_defs.h
@@ -5,10 +5,6 @@
#ifndef __MLX5_WIN_DEFS_H__
#define __MLX5_WIN_DEFS_H__
-#ifdef __cplusplus
-extern "C" {
-#endif
-
enum {
MLX5_CQE_OWNER_MASK = 1,
MLX5_CQE_REQ = 0,
diff --git a/drivers/common/mlx5/windows/mlx5_win_ext.h b/drivers/common/mlx5/windows/mlx5_win_ext.h
index b5d4484a13..6f69329a6f 100644
--- a/drivers/common/mlx5/windows/mlx5_win_ext.h
+++ b/drivers/common/mlx5/windows/mlx5_win_ext.h
@@ -5,10 +5,6 @@
#ifndef __MLX5_WIN_ETX_H__
#define __MLX5_WIN_ETX_H__
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include "mlx5_prm.h"
#include "mlx5devx.h"
--
2.25.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 3/6] net/cxgbe: fix the curly braces mismatch problem
[not found] <20220207123701.3281556-1-liwg06@foxmail.com>
2022-02-07 12:36 ` [PATCH v2 2/6] common/mlx5: fix the curly braces mismatch problem Weiguo Li
@ 2022-02-07 12:36 ` Weiguo Li
2022-02-07 12:36 ` [PATCH v2 4/6] net/dpaa2: " Weiguo Li
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Weiguo Li @ 2022-02-07 12:36 UTC (permalink / raw)
To: dev; +Cc: bruce.richardson, rahul.lakkireddy
Remove the incomplete cplusplus guard in internal header.
Fixes: 3bd122eef2cc ("cxgbe/base: add hardware API for Chelsio T5 series adapters")
Cc: rahul.lakkireddy@chelsio.com
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
---
drivers/net/cxgbe/base/common.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/net/cxgbe/base/common.h b/drivers/net/cxgbe/base/common.h
index 58d7d7a8f2..af987b0d5d 100644
--- a/drivers/net/cxgbe/base/common.h
+++ b/drivers/net/cxgbe/base/common.h
@@ -12,10 +12,6 @@
#include "t4_chip_type.h"
#include "t4fw_interface.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#define CXGBE_PAGE_SIZE RTE_PGSIZE_4K
#define T4_MEMORY_WRITE 0
--
2.25.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 4/6] net/dpaa2: fix the curly braces mismatch problem
[not found] <20220207123701.3281556-1-liwg06@foxmail.com>
2022-02-07 12:36 ` [PATCH v2 2/6] common/mlx5: fix the curly braces mismatch problem Weiguo Li
2022-02-07 12:36 ` [PATCH v2 3/6] net/cxgbe: " Weiguo Li
@ 2022-02-07 12:36 ` Weiguo Li
2022-02-07 12:37 ` [PATCH v2 5/6] eal/windows: " Weiguo Li
2022-02-07 12:37 ` [PATCH v2 6/6] eventdev: remove cplusplus guard in private header file Weiguo Li
4 siblings, 0 replies; 7+ messages in thread
From: Weiguo Li @ 2022-02-07 12:36 UTC (permalink / raw)
To: dev; +Cc: bruce.richardson, sunil.kori
Remove the incomplete cplusplus guard in internal headers.
Fixes: 72ec7a678e70 ("net/dpaa2: add soft parser driver")
Cc: sunil.kori@nxp.com
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
---
drivers/net/dpaa2/dpaa2_sparser.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_sparser.h b/drivers/net/dpaa2/dpaa2_sparser.h
index 365b8062a9..ed0897928b 100644
--- a/drivers/net/dpaa2/dpaa2_sparser.h
+++ b/drivers/net/dpaa2/dpaa2_sparser.h
@@ -13,10 +13,6 @@
#ifndef _DPAA2_SPARSER_H
#define _DPAA2_SPARSER_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#define WRIOP_SS_INITIALIZER(priv) \
do { \
/* Base offset of parse profile memory in WRIOP */ \
--
2.25.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 5/6] eal/windows: fix the curly braces mismatch problem
[not found] <20220207123701.3281556-1-liwg06@foxmail.com>
` (2 preceding siblings ...)
2022-02-07 12:36 ` [PATCH v2 4/6] net/dpaa2: " Weiguo Li
@ 2022-02-07 12:37 ` Weiguo Li
2022-02-07 13:15 ` Dmitry Kozlyuk
2022-02-07 22:19 ` Kadam, Pallavi
2022-02-07 12:37 ` [PATCH v2 6/6] eventdev: remove cplusplus guard in private header file Weiguo Li
4 siblings, 2 replies; 7+ messages in thread
From: Weiguo Li @ 2022-02-07 12:37 UTC (permalink / raw)
To: dev; +Cc: bruce.richardson, pallavi.kadam
Remove the incomplete cplusplus guard in internal header.
Fixes: 6e1ed4cbbe99 ("eal/windows: add dirent implementation")
Cc: pallavi.kadam@intel.com
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
---
lib/eal/windows/include/dirent.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lib/eal/windows/include/dirent.h b/lib/eal/windows/include/dirent.h
index 34eb077f8c..b522424403 100644
--- a/lib/eal/windows/include/dirent.h
+++ b/lib/eal/windows/include/dirent.h
@@ -658,7 +658,4 @@ dirent_set_errno(int error)
#endif
}
-#ifdef __cplusplus
-}
-#endif
#endif /*DIRENT_H*/
--
2.25.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 5/6] eal/windows: fix the curly braces mismatch problem
2022-02-07 12:37 ` [PATCH v2 5/6] eal/windows: " Weiguo Li
@ 2022-02-07 13:15 ` Dmitry Kozlyuk
2022-02-07 22:19 ` Kadam, Pallavi
1 sibling, 0 replies; 7+ messages in thread
From: Dmitry Kozlyuk @ 2022-02-07 13:15 UTC (permalink / raw)
To: Weiguo Li; +Cc: dev, bruce.richardson, pallavi.kadam
2022-02-07 20:37 (UTC+0800), Weiguo Li:
> Remove the incomplete cplusplus guard in internal header.
>
> Fixes: 6e1ed4cbbe99 ("eal/windows: add dirent implementation")
> Cc: pallavi.kadam@intel.com
>
> Signed-off-by: Weiguo Li <liwg06@foxmail.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 5/6] eal/windows: fix the curly braces mismatch problem
2022-02-07 12:37 ` [PATCH v2 5/6] eal/windows: " Weiguo Li
2022-02-07 13:15 ` Dmitry Kozlyuk
@ 2022-02-07 22:19 ` Kadam, Pallavi
1 sibling, 0 replies; 7+ messages in thread
From: Kadam, Pallavi @ 2022-02-07 22:19 UTC (permalink / raw)
To: Weiguo Li, dev; +Cc: bruce.richardson
On 2/7/2022 4:37 AM, Weiguo Li wrote:
> Remove the incomplete cplusplus guard in internal header.
>
> Fixes: 6e1ed4cbbe99 ("eal/windows: add dirent implementation")
> Cc: pallavi.kadam@intel.com
>
> Signed-off-by: Weiguo Li <liwg06@foxmail.com>
> ---
Acked-by: Pallavi Kadam <pallavi.kadam@intel.com>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2 6/6] eventdev: remove cplusplus guard in private header file
[not found] <20220207123701.3281556-1-liwg06@foxmail.com>
` (3 preceding siblings ...)
2022-02-07 12:37 ` [PATCH v2 5/6] eal/windows: " Weiguo Li
@ 2022-02-07 12:37 ` Weiguo Li
4 siblings, 0 replies; 7+ messages in thread
From: Weiguo Li @ 2022-02-07 12:37 UTC (permalink / raw)
To: dev; +Cc: bruce.richardson, pbhagavatula
This private header contains an incomplete cplusplus guard,
just remove it.
Fixes: d35e61322de52 ("eventdev: move inline APIs into separate structure")
Cc: pbhagavatula@marvell.com
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
---
lib/eventdev/eventdev_pmd.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/lib/eventdev/eventdev_pmd.h b/lib/eventdev/eventdev_pmd.h
index d0b0c00a60..b05ffce549 100644
--- a/lib/eventdev/eventdev_pmd.h
+++ b/lib/eventdev/eventdev_pmd.h
@@ -1366,8 +1366,4 @@ void
event_dev_fp_ops_set(struct rte_event_fp_ops *fp_ops,
const struct rte_eventdev *dev);
-#ifdef __cplusplus
-}
-#endif
-
#endif /* _RTE_EVENTDEV_PMD_H_ */
--
2.25.1
^ permalink raw reply [flat|nested] 7+ messages in thread