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 DDFAAA034F; Mon, 7 Feb 2022 13:37:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A46FC41140; Mon, 7 Feb 2022 13:37:25 +0100 (CET) Received: from out203-205-251-53.mail.qq.com (out203-205-251-53.mail.qq.com [203.205.251.53]) by mails.dpdk.org (Postfix) with ESMTP id 4A3F3410F3 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=1644237440; bh=qrqa/xQewFcpi1AMs9knHgf4kbIbpWoQ78S6G7IyFIw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=JzpmDPXaX9IoGFGGW5tm2WhFRNSxswNV1Mx/srzd18xlHJmGMyW8PJ/se/b0Nl2H+ /anC2qpHMHwUDzi8Ahc2NLY52UmkM/v+rZ9Y1BokGco98RfDSPvAgQBDCSWVhu7NGJ jC9jw4HtDkWBpUOCdFxCVNpRbLbiETWq3hPiLmcQ= 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: xmsmtpt1644237439txc7vm196 Message-ID: X-QQ-XMAILINFO: MX+1SEN3H+wAZ2ux+wAw3z6zicG8/ml4NRhiD4OhMul9gKfOw0WEUwrjFZE2Qn WSYanKxAuPj8IBD5ey2z07Z6arS3gSUQNNz1DKMpnei2/djnRMVV7oHDklQCZJL/LkcOlX3aZAwI WODtfQYw95XkzIDorXHj0oXG/+xFMPzLomJwGMt9t/pdaGEYpOqASl2EfXMgFqgHf9OxG1xpPR4v 4k6hwynGqMimeIMjx1MpbWCkJ5NrXd28NFo0+L4ytjUEkA+ueL3WVGbmA3rroMhcCzoMdJIK/jw1 C24AZp7EwUoaKxJB/hgIZE7woCvzqy+SE+6Y7wFHN1tsJ+tA0bX8AWtKwQlPDACC0UAbNXJ6/iHe V9J4PpNaBjBi9Isx2dhPR0/ag9ZAO/symKK+f01RQk2ZB3hsVMRUa61Vw9N8dDpJKBQWuqiDs+KQ HE/CmezFF3cEwAZfJBsJHmydSBDMATS7H8+6ytfwosi69/byS1o9x+ytMBzAvfJUqSuWVx3pUUVK jxb4E0FpvvpSlE2Vtdtd8z2XB7a4bM3xFzLIP+wNaOKcircDPN9pRD80E8YSmZnQwdyfMGpOmYLf JgrGnlb37v/ulFe6ZE/j1OmNVulsbew+O+QliIHjAP4Pyw8DwgKYqKn/d+pX9PhsD7mOvoeeqVEK ZdS8sjTZi5tUAVSbra1oAYxG1CkHmJYcgGew/m5e2dfI949BiA42tW8EBuL48toN2B0rc+iJ+II+ QPHF5Nk2zUU86COoyqik9YomjNAY0c23fFE6OQziHuouEd4wVpFQ94kQuKsEtsNji9o7RVJ/OdUw EU9kW4TCigsvsJZUEPgIjyEZUepUqkSoBYNTobC6YEv4t/BibJa8ohw457m9rceKQ= From: Weiguo Li To: dev@dpdk.org Cc: bruce.richardson@intel.com, talshn@nvidia.com Subject: [PATCH v2 2/6] common/mlx5: fix the curly braces mismatch problem Date: Mon, 7 Feb 2022 20:36:57 +0800 X-OQ-MSGID: <20220207123701.3281556-2-liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220207123701.3281556-1-liwg06@foxmail.com> References: <20220207123701.3281556-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 Remove the incomplete cplusplus guard in internal headers. Fixes: 7525ebd8ebb0 ("common/mlx5: add glue functions on Windows") Cc: talshn@nvidia.com Signed-off-by: Weiguo Li --- drivers/common/mlx5/windows/mlx5_win_defs.h | 4 ---- drivers/common/mlx5/windows/mlx5_win_ext.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/drivers/common/mlx5/windows/mlx5_win_defs.h b/drivers/common/mlx5/windows/mlx5_win_defs.h index 9f709ff30d..3554e4a7ff 100644 --- a/drivers/common/mlx5/windows/mlx5_win_defs.h +++ b/drivers/common/mlx5/windows/mlx5_win_defs.h @@ -5,10 +5,6 @@ #ifndef __MLX5_WIN_DEFS_H__ #define __MLX5_WIN_DEFS_H__ -#ifdef __cplusplus -extern "C" { -#endif - enum { MLX5_CQE_OWNER_MASK = 1, MLX5_CQE_REQ = 0, diff --git a/drivers/common/mlx5/windows/mlx5_win_ext.h b/drivers/common/mlx5/windows/mlx5_win_ext.h index b5d4484a13..6f69329a6f 100644 --- a/drivers/common/mlx5/windows/mlx5_win_ext.h +++ b/drivers/common/mlx5/windows/mlx5_win_ext.h @@ -5,10 +5,6 @@ #ifndef __MLX5_WIN_ETX_H__ #define __MLX5_WIN_ETX_H__ -#ifdef __cplusplus -extern "C" { -#endif - #include "mlx5_prm.h" #include "mlx5devx.h" -- 2.25.1