From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 23F79A034E; Sun, 6 Feb 2022 01:45:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CEFFE410EC; Sun, 6 Feb 2022 01:45:29 +0100 (CET) Received: from out203-205-221-155.mail.qq.com (out203-205-221-155.mail.qq.com [203.205.221.155]) by mails.dpdk.org (Postfix) with ESMTP id 32C9840042 for ; Sun, 6 Feb 2022 01:45:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644108324; bh=yKr1xzZHCz/jEVFtZh0gtNQq1ISkOdC0Rsm1jFi7mAg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=AIQQ0UooMthdDAhJykJ+/VwFl9khTeeZ7A6eY1aKrmwBVARX8oAKjw9ENndnRWEPQ AOwyc2o4ZsYZcnJmGVrQBvCCoIdbywm48y9mnhs46TlnC1JhyDikKFpTE1B2Fxk5ek q1D0G6dkU4XZ396TIehLUTozGzjpwOtJMeL1kqYE= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrsza5.qq.com (NewEsmtp) with SMTP id B0E20ABF; Sun, 06 Feb 2022 08:44:14 +0800 X-QQ-mid: xmsmtpt1644108323tqzoohhso Message-ID: X-QQ-XMAILINFO: MJ0QbbALek+qhSDf0TVLMu4Oz4QfS4psNxu6f0xC1afTLVAXgKVMwHZ6XoZKe+ s1U8X/BI4T/t3VsS6la+2ZP8Tv+umnmV6b0lGY2m73zHHeGQ9ShXaa05GtKRherDfC8n1yXF4mTa 4ZmsIpOLFqUtEDKy7uRYUY5zoGLmHrntpkd0amFrGhBhgYSUMjPMBWK7H1OCUOEo8u0r0jwnWfpL BBQyEQQSjrxdopfhU1eezA+AxJ9eRqVx5Afq2O8mOeVHmGmhA44AQ7kLZqbB1dPgmQXuUl9s/aK1 6OfcyCLbm7bA0UFl90BBZcDtBhI4ktaGugRzA1dbHvAnHu5//oBHPekFgZci/66bXdGsF6Ah2eA4 d4g9zxxz/jk1FlLXPBq3Q5clpycT/kS5hl7F7Sv6DiusNIUmUtnwPlWR4OTAh9fKMziCNmdXdJkp qHBAFR014+aDcEQChbyCO8SVEMUidg5XjdPqqX3xrUa5LQ5IgNVsWt15Qjwrnlc1Yt5lTvdCDtMp vAdXgk5apykufmu+JjG4dQSrPgSeKsL53DCD9nf2t3LB6jQ7cTp8YtDH86FLn3DpctjnY6R/YySO goTW6BgFwhcn2JZcPv04OOoRqk6bmQPD4zW61bMRtYi8HESzkiZeH5PL+EZjOFSZM8Kt9Jl1c7KN nwvsSk4sTXU3YQVdETQt0TeNphMbEj9ElMwjrAfjnUg3zHeEqOjyCA/LBPGngmlNlshmYrK/qmcV v+YMGmjt7zVKbK7EvQsdgY97J9d0aNsYbbZ1J4Xu4gKD7G5929zH72RHGXLG1UzqOzBtsXjkGiRs lZtIVxagCXw7ww3Refc8YYhESWyjx+jW2ZAbvjQ/6mPZxEd+IMCn1UeIqGBirKvfcM+mGV7MDktE GdkMfC5nGblo941OEKs02ULKqymBfwihgzHTVfd30S From: Weiguo Li To: dev@dpdk.org Cc: shreyansh.jain@nxp.com Subject: [PATCH 1/6] bus/dpaa: fix the curly braces mismatch problem Date: Sun, 6 Feb 2022 08:44:09 +0800 X-OQ-MSGID: <20220206004414.2801177-2-liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220206004414.2801177-1-liwg06@foxmail.com> References: <20220206004414.2801177-1-liwg06@foxmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Supplement the missing half of braces for the extern "C" block Fixes: 6d6b4f49a155 ("bus/dpaa: add FMAN hardware operations") Fixes: 919eeaccb2ba ("bus/dpaa: introduce NXP DPAA bus driver skeleton") Cc: shreyansh.jain@nxp.com Signed-off-by: Weiguo Li --- drivers/bus/dpaa/include/fsl_fman.h | 5 +++++ drivers/bus/dpaa/rte_dpaa_bus.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/drivers/bus/dpaa/include/fsl_fman.h b/drivers/bus/dpaa/include/fsl_fman.h index acb344584f..a10845f0a0 100644 --- a/drivers/bus/dpaa/include/fsl_fman.h +++ b/drivers/bus/dpaa/include/fsl_fman.h @@ -186,4 +186,9 @@ static inline void fman_if_disable_all_rx(void) list_for_each_entry(__if, fman_if_list, node) fman_if_disable_rx(__if); } + +#ifdef __cplusplus +} +#endif + #endif /* __FSL_FMAN_H */ diff --git a/drivers/bus/dpaa/rte_dpaa_bus.h b/drivers/bus/dpaa/rte_dpaa_bus.h index 31a5ea3fca..54bb1436fd 100644 --- a/drivers/bus/dpaa/rte_dpaa_bus.h +++ b/drivers/bus/dpaa/rte_dpaa_bus.h @@ -17,6 +17,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* This sequence number field is used to store event entry index for * driver specific usage. For parallel mode queues, invalid * index will be set and for atomic mode queues, valid value -- 2.25.1