summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonglei2016-08-30 06:06:21 +0200
committerJason Wang2016-09-27 11:54:22 +0200
commitfb56d323e2c9472ba4c25fc0f13f2aaddda62380 (patch)
treec37ee05c62f763a3e51545a3c9e10563085e5b8e
parentdocs: Add documentation for COLO-proxy (diff)
downloadqemu-fb56d323e2c9472ba4c25fc0f13f2aaddda62380.tar.gz
qemu-fb56d323e2c9472ba4c25fc0f13f2aaddda62380.tar.xz
qemu-fb56d323e2c9472ba4c25fc0f13f2aaddda62380.zip
e1000: fix buliding complaint
hw/net/e1000e_core.c:56: warning: e1000e_set_interrupt_cause declared inline after being called hw/net/e1000e_core.c:56: warning: previous declaration of e1000e_set_interrupt_cause was here Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Dmitry Fleytman <dmitry@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
-rw-r--r--hw/net/e1000e_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c
index e0bd31c577..03e3c462f1 100644
--- a/hw/net/e1000e_core.c
+++ b/hw/net/e1000e_core.c
@@ -2168,7 +2168,7 @@ e1000e_update_interrupt_state(E1000ECore *core)
}
}
-static inline void
+static void
e1000e_set_interrupt_cause(E1000ECore *core, uint32_t val)
{
trace_e1000e_irq_set_cause_entry(val, core->mac[ICR]);