[PATCH 3/6] net/cxgbe: fix the curly braces mismatch problem
Weiguo Li
liwg06 at foxmail.com
Sun Feb 6 01:44:11 CET 2022
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 at chelsio.com
Signed-off-by: Weiguo Li <liwg06 at 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
More information about the dev
mailing list