[1/2] net/sfc/base: improve headers independence
Checks
Commit Message
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 <arybchenko@solarflare.com>
---
drivers/net/sfc/base/efx_types.h | 1 +
1 file changed, 1 insertion(+)
Comments
On 7/21/2020 9:57 AM, Andrew Rybchenko wrote:
> 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 <arybchenko@solarflare.com>
Series applied to dpdk-next-net/master, thanks.
@@ -10,6 +10,7 @@
#define _SYS_EFX_TYPES_H
#include "efsys.h"
+#include "efx_annote.h"
#ifdef __cplusplus
extern "C" {