Page MenuHomeFreeBSD

D6392.diff
No OneTemporary

D6392.diff

Index: head/sys/dev/sfxge/common/efx_mcdi.c
===================================================================
--- head/sys/dev/sfxge/common/efx_mcdi.c
+++ head/sys/dev/sfxge/common/efx_mcdi.c
@@ -519,6 +519,11 @@
if ((rc = efx_mcdi_poll_reboot(enp)) != 0) {
emip->emi_pending_req = NULL;
EFSYS_UNLOCK(enp->en_eslp, state);
+
+ /* Reboot/Assertion */
+ if (rc == EIO || rc == EINTR)
+ efx_mcdi_raise_exception(enp, emrp, rc);
+
goto fail1;
}
}
@@ -553,10 +558,6 @@
if (!emrp->emr_quiet)
EFSYS_PROBE1(fail1, efx_rc_t, rc);
- /* Reboot/Assertion */
- if (rc == EIO || rc == EINTR)
- efx_mcdi_raise_exception(enp, emrp, rc);
-
return (B_TRUE);
}

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 22, 7:41 AM (6 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16026781
Default Alt Text
D6392.diff (684 B)

Event Timeline