qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL V2 15/27] e1000: fix buliding complaint


From: Jason Wang
Subject: [Qemu-devel] [PULL V2 15/27] e1000: fix buliding complaint
Date: Tue, 27 Sep 2016 18:12:55 +0800

From: Gonglei <address@hidden>

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 <address@hidden>
Reviewed-by: Dmitry Fleytman <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
---
 hw/net/e1000e_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c
index e0bd31c..03e3c46 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]);
-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]