DPDK patches and discussions
 help / color / mirror / Atom feed
From: Weiguo Li <liwg06@foxmail.com>
To: dev@dpdk.org
Cc: rahul.lakkireddy@chelsio.com
Subject: [PATCH 3/6] net/cxgbe: fix the curly braces mismatch problem
Date: Sun,  6 Feb 2022 08:44:11 +0800	[thread overview]
Message-ID: <tencent_4722787504BEF5464E446663F279704EE909@qq.com> (raw)
In-Reply-To: <20220206004414.2801177-1-liwg06@foxmail.com>

Supplement the second half of braces for the extern "C" block

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 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/net/cxgbe/base/common.h b/drivers/net/cxgbe/base/common.h
index 58d7d7a8f2..473726c673 100644
--- a/drivers/net/cxgbe/base/common.h
+++ b/drivers/net/cxgbe/base/common.h
@@ -542,4 +542,9 @@ static inline int t4_memory_rw(struct adapter *adap, int win,
 {
 	return t4_memory_rw_mtype(adap, win, mtype, maddr, len, hbuf, dir);
 }
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __CHELSIO_COMMON_H */
-- 
2.25.1


  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 ` [PATCH 2/6] common/mlx5: " Weiguo Li
2022-02-06  0:44 ` Weiguo Li [this message]
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_4722787504BEF5464E446663F279704EE909@qq.com \
    --to=liwg06@foxmail.com \
    --cc=dev@dpdk.org \
    --cc=rahul.lakkireddy@chelsio.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).