diff options
author | Raghava Aditya Renukunta <[email protected]> | 2017-02-16 12:51:21 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-02-22 18:41:42 -0500 |
commit | c421530bf848604e97d0785a03b3fe2c62775083 (patch) | |
tree | a3225eb2d06af8fd5ba804e4ecb357304b7288d9 /lib/mpi/mpi-cmp.c | |
parent | 146aa1786d4978795cab5347d810e00236dea1c3 (diff) |
scsi: aacraid: Reorder Adapter status check
The driver currently checks the SELF_TEST_FAILED first and then
KERNEL_PANIC next. Under error conditions(boot code failure) both
SELF_TEST_FAILED and KERNEL_PANIC can be set at the same time.
The driver has the capability to reset the controller on an KERNEL_PANIC,
but not on SELF_TEST_FAILED.
Fixed by first checking KERNEL_PANIC and then the others.
Cc: [email protected]
Fixes: e8b12f0fb835223752 ([SCSI] aacraid: Add new code for PMC-Sierra's SRC base controller family)
Signed-off-by: Raghava Aditya Renukunta <[email protected]>
Reviewed-by: David Carroll <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions