git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4f9eab
)
net/sfc/base: improve headers independence
author
Andrew Rybchenko
<arybchenko@solarflare.com>
Tue, 21 Jul 2020 08:57:54 +0000
(09:57 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 21 Jul 2020 16:13:45 +0000
(18:13 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/base/efx_types.h
b/drivers/net/sfc/base/efx_types.h
index
4fddbbc
..
ae8a103
100644
(file)
--- 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" {