Skip to content

Commit

Permalink
e1000: fix buliding complaint
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
gongleiarei authored and jasowang committed Sep 27, 2016
1 parent 46cca4e commit fb56d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/net/e1000e_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit fb56d32

Please sign in to comment.