From: Weiguo Li <liwg06@foxmail.com>
To: dev@dpdk.org
Cc: talshn@nvidia.com
Subject: [PATCH 2/6] common/mlx5: fix the curly braces mismatch problem
Date: Sun, 6 Feb 2022 08:44:10 +0800 [thread overview]
Message-ID: <tencent_A098141E9853F4085D1DA16FA5110991C007@qq.com> (raw)
In-Reply-To: <20220206004414.2801177-1-liwg06@foxmail.com>
Supplement the second half of braces for the extern "C" block
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 | 5 +++++
drivers/common/mlx5/windows/mlx5_win_ext.h | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/drivers/common/mlx5/windows/mlx5_win_defs.h b/drivers/common/mlx5/windows/mlx5_win_defs.h
index 9f709ff30d..14b2b5d3b3 100644
--- a/drivers/common/mlx5/windows/mlx5_win_defs.h
+++ b/drivers/common/mlx5/windows/mlx5_win_defs.h
@@ -262,4 +262,9 @@ enum {
MLX5_MATCH_MISC_PARAMETERS = 1 << 1,
MLX5_MATCH_INNER_HEADERS = 1 << 2,
};
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __MLX5_WIN_DEFS_H__ */
diff --git a/drivers/common/mlx5/windows/mlx5_win_ext.h b/drivers/common/mlx5/windows/mlx5_win_ext.h
index b5d4484a13..7cb7ce5e58 100644
--- a/drivers/common/mlx5/windows/mlx5_win_ext.h
+++ b/drivers/common/mlx5/windows/mlx5_win_ext.h
@@ -44,4 +44,8 @@ struct mlx5_devx_clock {
#define GET_DEVX_CTX(ctx) (((mlx5_context_st *)ctx)->devx_ctx)
#define GET_OBJ_CTX(obj) (((mlx5_devx_obj_st *)obj)->devx_ctx)
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __MLX5_WIN_ETX_H__ */
--
2.25.1
next prev parent reply other threads:[~2022-02-06 0:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20220206004414.2801177-1-liwg06@foxmail.com>
2022-02-06 0:44 ` [PATCH 1/6] bus/dpaa: " Weiguo Li
2022-02-07 9:26 ` Bruce Richardson
2022-02-06 0:44 ` Weiguo Li [this message]
2022-02-06 0:44 ` [PATCH 3/6] net/cxgbe: " Weiguo Li
2022-02-06 0:44 ` [PATCH 4/6] net/dpaa2: " Weiguo Li
2022-02-06 0:44 ` [PATCH 5/6] eal/windows: " Weiguo Li
2022-02-06 16:23 ` Dmitry Kozlyuk
2022-02-07 11:43 ` Weiguo Li
2022-02-06 0:44 ` [PATCH 6/6] eventdev: remove C++ include guard from private header Weiguo Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_A098141E9853F4085D1DA16FA5110991C007@qq.com \
--to=liwg06@foxmail.com \
--cc=dev@dpdk.org \
--cc=talshn@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).