[3/6] net/cxgbe: fix the curly braces mismatch problem

Message ID tencent_4722787504BEF5464E446663F279704EE909@qq.com (mailing list archive)
State Superseded, archived
Headers
Series [1/6] bus/dpaa: fix the curly braces mismatch problem |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Weiguo Li Feb. 6, 2022, 12:44 a.m. UTC
  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(+)
  

Patch

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 */