[3/6] net/cxgbe: fix the curly braces mismatch problem
Checks
Commit Message
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(+)
@@ -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 */