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 6E040A034F; Mon, 7 Feb 2022 13:37:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51809410F6; Mon, 7 Feb 2022 13:37:24 +0100 (CET) Received: from out203-205-251-60.mail.qq.com (out203-205-251-60.mail.qq.com [203.205.251.60]) by mails.dpdk.org (Postfix) with ESMTP id 45D68410EA for ; Mon, 7 Feb 2022 13:37:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644237439; bh=G+b7OyLcjgyNbZkM41YN7IXxn0QZ2wZI+cnqREaPL0c=; h=From:To:Cc:Subject:Date; b=f0hNLEuGJf31Lqrkdr9VbKjZIeyMtDbIG7twGleSdpE51+AuzvhjgbsTcx+5vaZvd 6FGQva0dfYyH0Xg70ZW23TrXemBYK3WcvIzSFT0hdgK9dLCXmbDkpGzhRd9We/hCws RMgbH7ewQTKOzZ8PZ3A3te0gwRD0dC6oqQOeejK4= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrszb6.qq.com (NewEsmtp) with SMTP id 9419D2B2; Mon, 07 Feb 2022 20:37:01 +0800 X-QQ-mid: xmsmtpt1644237421tbfbpqc9g Message-ID: X-QQ-XMAILINFO: OE2SNMSfMbmO5GopyOlTBfLLtVscxvGmre21vQciWuTpuPM7Zn6baT1/84AOby OyzWb14xqwpf+jJ3v6dnDc8QnDNk//NSlyYODsnjwjgu7pF8hekNuvMqk5W7CdxdC2pKoTNyeLof /GyOcUYxJi9owc674q6Bv3A6l26aMWyXn3JzNv7TYQlo9qj2BYawZSaps1K+rgkVDce/unYtpBL6 Fk/tZiwJX46n/S/3f2ZXj8OB6dw8+8Jp+BmT0vbp13jLiIkKzMQqa/BNG7IPAOInvi8btNTDkVoR fJcSSVku54OvnoNv2qwCVQCaHc5lrfu70pvNujaSmYADRGGGwMjkYrObWJ7ukARw3Wxb01jXP6BW WGuyLFg8eoVuLnvkhAPyveNwYEF35bsUu1mQZm2g4iTtMPCzeH2cB2LFGtwA200Tgrp/ZoFWaqva qkceY0lVBqGWYM4vEBU2nLX1dgqpjJucFGfng76CK7k1j0QI50ntweb0sVce+xP7NymLAM5M1zjo dMG/0mdES5hHkgxlCN0OfwBD4ExBZYhobuh7YbmCa1zSKeELLAlZ0H6Rt+bT33dARorFiLPkoIUO M/Zk9QB2nR4GvqBJWzntkb8pkMO8bnR9HhoefUY8BRc6Wu+GEaCS0jgTVup/dN87AYcxWNTY+yC9 2c8cbsF5RlVXpQ0PbNaxWZCiipfjlHJh4xGlMUz2GOn8sxBurjn8HrErYqSQvQ1jsVVvQodqjfqR 9NEl+VS8LRuDbllACbwlSOzrPbyYt6qcKq+1wC9aJU9gq6V93FvuWzJg0ukgOa8PQDOzJsOPMZt/ mbpZjMRJbvBD/i127EaBoTkGww9yKs7X8wDeVDVnmoCRxaWVvs8aPK8uU3sIH0ICszbDDDrT2nlJ miuXNmbIjCRwZE5yehXS4vqrT+Z9GXoTq8pqAfPS14yG6fY4hhho9p0z+4BPqG60MwKcvlQENMq2 Nl66lq3o/wm3PJnIHTXdKSf7M73km4 From: Weiguo Li To: dev@dpdk.org Cc: bruce.richardson@intel.com, shreyansh.jain@nxp.com Subject: [PATCH v2 1/6] bus/dpaa: fix the curly braces mismatch problem Date: Mon, 7 Feb 2022 20:36:56 +0800 X-OQ-MSGID: <20220207123701.3281556-1-liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 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, or remove the incomplete guard in internal header. 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 | 4 ---- drivers/bus/dpaa/rte_dpaa_bus.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/bus/dpaa/include/fsl_fman.h b/drivers/bus/dpaa/include/fsl_fman.h index acb344584f..20690f8329 100644 --- a/drivers/bus/dpaa/include/fsl_fman.h +++ b/drivers/bus/dpaa/include/fsl_fman.h @@ -9,10 +9,6 @@ #include -#ifdef __cplusplus -extern "C" { -#endif - /* Status field in FD is updated on Rx side by FMAN with following information. * Refer to field description in FM BG. */ 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