summaryrefslogtreecommitdiff
path: root/drivers/scsi/bnx2fc/bnx2fc_hwi.c
diff options
context:
space:
mode:
authorErwan Velu <e.velu@criteo.com>2019-03-21 10:49:27 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2019-05-20 10:56:43 -0400
commit8ef860ae55e96c9e8999a12c800d9fd1a91f66d7 (patch)
treeff641bb955522f2ac0486963147be9dabaa2fe6e /drivers/scsi/bnx2fc/bnx2fc_hwi.c
parent41552199b5518fe26bee0829a28dd1880441b430 (diff)
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>
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc_hwi.c')
0 files changed, 0 insertions, 0 deletions