svn commit: r309288 - head/sys/dev/mrsas
Kashyap D Desai
kadesai at FreeBSD.org
Tue Nov 29 12:58:29 UTC 2016
Author: kadesai
Date: Tue Nov 29 12:58:28 2016
New Revision: 309288
URL: https://svnweb.freebsd.org/changeset/base/309288
Log:
Clean up reference to AEN command if abort AEN is succesful as the command is aborted.
Did the same by setting sc->aen_cmd = NULL when aborting AEN is successful.
Submitted by: Sumit Saxena <sumit.saxena at broadcom.com>
Reviewed by: Kashyap Desai <Kashyap.Desai at broadcom.com>
MFC after: 3 days
Sponsored by: Broadcom Limited/AVAGO Technologies
Modified:
head/sys/dev/mrsas/mrsas.c
Modified: head/sys/dev/mrsas/mrsas.c
==============================================================================
--- head/sys/dev/mrsas/mrsas.c Tue Nov 29 12:56:53 2016 (r309287)
+++ head/sys/dev/mrsas/mrsas.c Tue Nov 29 12:58:28 2016 (r309288)
@@ -675,7 +675,8 @@ mrsas_register_aen(struct mrsas_softc *s
if (ret_val) {
printf("mrsas: Failed to abort previous AEN command\n");
return ret_val;
- }
+ } else
+ sc->aen_cmd = NULL;
}
}
cmd = mrsas_get_mfi_cmd(sc);
More information about the svn-src-all
mailing list