From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E35C5A0526; Tue, 21 Jul 2020 10:58:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C53961BFEF; Tue, 21 Jul 2020 10:58:08 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id A52CE1BFE4 for ; Tue, 21 Jul 2020 10:58:07 +0200 (CEST) Received: from mx1-us1.ppe-hosted.com (unknown [10.7.65.64]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 2E01E6006B for ; Tue, 21 Jul 2020 08:58:07 +0000 (UTC) Received: from us4-mdac16-67.ut7.mdlocal (unknown [10.7.64.34]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 2C9512009B for ; Tue, 21 Jul 2020 08:58:07 +0000 (UTC) X-Virus-Scanned: Proofpoint Essentials engine Received: from mx1-us1.ppe-hosted.com (unknown [10.7.65.174]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id B5C5522004D for ; Tue, 21 Jul 2020 08:58:06 +0000 (UTC) Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 6B3871C0064 for ; Tue, 21 Jul 2020 08:58:06 +0000 (UTC) Received: from ukex01.SolarFlarecom.com (10.17.10.4) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 21 Jul 2020 09:58:02 +0100 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 21 Jul 2020 09:58:02 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id 06L8w20f032244 for ; Tue, 21 Jul 2020 09:58:02 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 1269D1617DC for ; Tue, 21 Jul 2020 09:58:02 +0100 (BST) From: Andrew Rybchenko To: Date: Tue, 21 Jul 2020 09:57:54 +0100 Message-ID: <1595321875-26029-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.6.1012-25554.003 X-TM-AS-Result: No-2.319300-8.000000-10 X-TMASE-MatchedRID: Sidze7cOBiwBSVElkD14JpK9FvwQx1hFAf1C358hdK8da1Vk3RqxOI4V V/Q3KAog8XVI39JCRnSlskwMhnibr1PnI9A/227jA9lly13c/gF9LQinZ4QefCP/VFuTOXUTl7B AyKmXjyPkwjHXXC/4I66NVEWSRWybuY88HJgGKDCVIRrnvBsQ2hI0JtvMl4r2SGiFdRdDdb5++o YxUYwvam/XE+Iy8tuSdYaVK6uCDKMtEfK3vMbNoySKcrwClqiXT72coBR9t306Iwx+LO2mj/hdZ k++XZNksCh0GdVc0vlY9RsVP6pJcA== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--2.319300-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.6.1012-25554.003 X-MDID: 1595321887-wLmmOy1zlq4g Subject: [dpdk-dev] [PATCH 1/2] net/sfc/base: improve headers independence X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" efx_types.h uses defines from efx_annote.h, but does not include the header. As the result if efx_types.h is included by a driver first, build fails. Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/sfc/base/efx_types.h b/drivers/net/sfc/base/efx_types.h index 4fddbbcdc4..ae8a1031df 100644 --- a/drivers/net/sfc/base/efx_types.h +++ b/drivers/net/sfc/base/efx_types.h @@ -10,6 +10,7 @@ #define _SYS_EFX_TYPES_H #include "efsys.h" +#include "efx_annote.h" #ifdef __cplusplus extern "C" { -- 2.17.1