Erwan Velu 8ef860ae55 scsi: smartpqi: Reporting unhandled SCSI errors
When a HARDWARE_ERROR is triggered for ASC=0x3e, the existing code is only
considering the case where ASCQ=0x1.

According to the http://www.t10.org/lists/asc-num.htm#ASC_3E specification,
other values may occur like a timeout (ASCQ=0x2).

This patch prints an error message when a non-handled message is received.
This can help diagnose a possible misbehavior of the controller or a
missing implementation in the Linux kernel.

This patch keeps the exact same error handling but prints a message if an
ASCQ != 1 is reported.

[mkp: clarified commit message]

Signed-off-by: Erwan Velu <e.velu@criteo.com>
Acked-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-05-20 10:56:43 -04:00
..
2018-12-18 23:19:21 -05:00
2019-03-19 17:38:20 -04:00
2019-03-09 16:53:47 -08:00
2019-03-09 16:53:47 -08:00
2019-03-09 16:53:47 -08:00
2019-03-02 11:39:54 -08:00
2018-12-18 23:19:21 -05:00
2018-12-18 23:19:21 -05:00
2018-06-19 22:02:25 -04:00
2018-12-18 23:19:21 -05:00
2019-01-08 21:58:35 -05:00
2019-01-08 21:58:35 -05:00
2018-12-18 23:19:21 -05:00
2018-12-28 14:48:06 -08:00
2019-03-18 16:46:14 -04:00
2018-12-18 23:13:12 -05:00
2018-12-18 23:19:21 -05:00
2018-11-06 21:31:28 -05:00
2019-03-09 16:53:47 -08:00
2019-03-16 12:51:50 -07:00
2018-12-18 23:19:21 -05:00
2019-02-05 21:28:52 -05:00
2018-12-28 14:48:06 -08:00
2019-05-20 10:56:43 -04:00
2018-12-18 23:13:12 -05:00
2019-03-09 16:53:47 -08:00
2018-06-04 07:58:06 -07:00
2018-06-19 22:02:25 -04:00
2019-02-12 22:33:00 -05:00
2018-06-12 16:19:22 -07:00
2018-12-18 23:19:21 -05:00
2019-02-05 21:29:49 -05:00
2018-12-18 23:19:21 -05:00
2018-12-28 14:48:06 -08:00