bhyve/pci_e82545.c: squelch gcc warning for noreturn procedure
Gcc complained that e82545_tx_thread has a return type declared but doesn't return anything. Annotate the procedure with _Noreturn. Reviewed by: grehan Approved by: markj (mentor) Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D11774
This commit is contained in:
parent
d10cef3828
commit
558e4950b3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321668
@ -1405,7 +1405,7 @@ e82545_tx_run(struct e82545_softc *sc)
|
||||
sc->esc_TDH, sc->esc_TDHr, sc->esc_TDT);
|
||||
}
|
||||
|
||||
static void *
|
||||
static _Noreturn void *
|
||||
e82545_tx_thread(void *param)
|
||||
{
|
||||
struct e82545_softc *sc = param;
|
||||
|
Loading…
Reference in New Issue
Block a user