Correctly test *Reply_Ptr in ASR_resetIOP(). Thanks to dhartmei for pointing
this out.
This commit is contained in:
parent
8e32b95bd1
commit
69ffa9292c
@ -526,7 +526,7 @@ ASR_resetIOP(i2oRegs_t *virt, U8 *fvirt)
|
||||
* Re-enable the interrupts.
|
||||
*/
|
||||
virt->Mask = Old;
|
||||
KASSERT(*Reply_Ptr != NULL, ("Reply_Ptr == NULL"));
|
||||
KASSERT(*Reply_Ptr != 0, ("*Reply_Ptr == 0"));
|
||||
return(*Reply_Ptr);
|
||||
}
|
||||
KASSERT(Old != -1L, ("Old == -1"));
|
||||
|
Loading…
Reference in New Issue
Block a user