[dpdk-dev] [PATCH v2 39/60] common/sfc_efx: do not include libefx headers from efsys.h

Andrew Rybchenko arybchenko at solarflare.com
Tue Sep 22 11:34:27 CEST 2020


efsys.h may depends on target system headers only. Otherwise, it could
result in cross-dependency when libefx header depends on efsys.h and
efsys.h depends on the libefx header.

Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
Reviewed-by: Andrew Lee <andrewle at xilinx.com>
Reviewed-by: Andy Moreton <amoreton at xilinx.com>
---
 drivers/common/sfc_efx/efsys.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/common/sfc_efx/efsys.h b/drivers/common/sfc_efx/efsys.h
index 1567d91588..e191cb5b6a 100644
--- a/drivers/common/sfc_efx/efsys.h
+++ b/drivers/common/sfc_efx/efsys.h
@@ -50,7 +50,6 @@ extern "C" {
 #else
 #error "Cannot determine system endianness"
 #endif
-#include "efx_types.h"
 
 
 typedef bool boolean_t;
-- 
2.17.1



More information about the dev mailing list