Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147457401
D6392.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
684 B
Referenced Files
None
Subscribers
None
D6392.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 12, 4:28 AM (8 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29564780
Default Alt Text
D6392.diff (684 B)
Attached To
Mode
D6392: sfxge(4): only raise an exception after MC assert or reboot in the common code
Attached
Detach File
Event Timeline
Log In to Comment