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 E15AEA0C4B; Tue, 2 Nov 2021 19:42:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CC2041120; Tue, 2 Nov 2021 19:42:31 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id B19B341120 for ; Tue, 2 Nov 2021 19:42:29 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1A2F4LQv012013 for ; Tue, 2 Nov 2021 11:42:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=f3cnbL7Ww17ZvmGc+62keSDrVf6tVcxP9Sj/CO9T6ws=; b=UYz+miaxQLt0O8C3Knl8FdxDQ1LbyRQZngmxKApITkiYfwg+JlQSsUXQg3XvHvGNf/Qm r8emQFxt74BthgElt/oekA+z4kfLErp8kF7GCZZcgv9mLvlrfbZ7erhk5HhgUm0ZKFqO jmrv26yVsmpBxHuhPkT8jc8lASpb5tzXOxPePAcUH8UFGZ/IgOSK9iJg32LfqWQvL5rD XTrl9pgI2Ap+jN2BfT11PwjqSF/y7hG3xXA6nWCOL+lqofdRYJlsgZL9CjrLiaAel5BB 7Ms18FYH3IuM2ONJTz1qHRRgjIo2I6v+h7UAPaFj9z11DQ7GNE7LlO/NEMXKjqwHMJ45 rw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3c2ycvbqgh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 02 Nov 2021 11:42:29 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 2 Nov 2021 11:42:26 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 2 Nov 2021 11:42:27 -0700 Received: from localhost.localdomain (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id 618723F7041; Tue, 2 Nov 2021 11:42:25 -0700 (PDT) From: Tomasz Duszynski To: CC: , Tomasz Duszynski , "Jakub Palider" Date: Tue, 2 Nov 2021 19:41:33 +0100 Message-ID: <20211102184134.3012344-4-tduszynski@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211102184134.3012344-1-tduszynski@marvell.com> References: <20211102184134.3012344-1-tduszynski@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: DQgh-6mJemBORfS5q9TUWM9dIXCAizhD X-Proofpoint-ORIG-GUID: DQgh-6mJemBORfS5q9TUWM9dIXCAizhD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-02_08,2021-11-02_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH 3/4] raw/cnxk_bphy: add headers that provide used APIs 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 Sender: "dev" Generally it is good practice to include all headers that provide APIs which are being used. This is especially true in situations where 3rd party apps include our public headers and assume that all should work out of the box. Including all headers explicitly helps to achieve that. Signed-off-by: Tomasz Duszynski --- drivers/raw/cnxk_bphy/rte_pmd_bphy.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/raw/cnxk_bphy/rte_pmd_bphy.h b/drivers/raw/cnxk_bphy/rte_pmd_bphy.h index 726ff412a2..cc2372f719 100644 --- a/drivers/raw/cnxk_bphy/rte_pmd_bphy.h +++ b/drivers/raw/cnxk_bphy/rte_pmd_bphy.h @@ -5,7 +5,11 @@ #ifndef _CNXK_BPHY_H_ #define _CNXK_BPHY_H_ +#include + +#include #include +#include #include #include -- 2.25.1