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:
f64f2a4
)
net/sfc/base: fix build because of no declaration
author
Andrew Rybchenko
<arybchenko@solarflare.com>
Mon, 10 Sep 2018 09:33:07 +0000
(10:33 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000
(
01:41
+0200)
Functions declared in mcdi_mon.h are implemented in mcdi_mon.c.
The build fails if compiler options require declaration before definition.
Fixes:
dfb3b1ce15f6
("net/sfc/base: import monitors access via MCDI")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/mcdi_mon.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/base/mcdi_mon.c
b/drivers/net/sfc/base/mcdi_mon.c
index
940bd02
..
8c0b6f0
100644
(file)
--- a/
drivers/net/sfc/base/mcdi_mon.c
+++ b/
drivers/net/sfc/base/mcdi_mon.c
@@
-6,6
+6,7
@@
#include "efx.h"
#include "efx_impl.h"
+#include "mcdi_mon.h"
#if EFSYS_OPT_MON_MCDI