-----Original Message----- From: linux-scsi-owner@xxxxxxxxxxxxxxx [mailto:linux-scsi-owner@xxxxxxxxxxxxxxx] On Behalf Of Erwan Velu Sent: Wednesday, April 10, 2019 6:03 AM Cc: Erwan Velu <e.velu@xxxxxxxxxx>; Don Brace <don.brace@xxxxxxxxxxxxx>; James E.J. Bottomley <jejb@xxxxxxxxxxxxx>; Martin K. Petersen <martin.petersen@xxxxxxxxxx>; open list:MICROSEMI SMART ARRAY SMARTPQI DRIVER (smartpqi) <esc.storagedev@xxxxxxxxxxxxx>; open list:MICROSEMI SMART ARRAY SMARTPQI DRIVER (smartpqi) <linux-scsi@xxxxxxxxxxxxxxx>; open list <linux-kernel@xxxxxxxxxxxxxxx> Subject: Re: [PATCH] scsi: smartpqi: Reporting unhandled SCSI errors Hi there ! Any reactions to this one ? I didn't got a single comment. Cheers, Erwan, Le jeu. 21 mars 2019 à 10:49, Erwan Velu <erwanaliasr1@xxxxxxxxx> a écrit : > > When a HARDWARE_ERROR is triggered for asc=0x3e, the actual code is only considering the case where ascq=0x1. > > Following the http://www.t10.org/lists/asc-num.htm#ASC_3E specification, other values may occur like a timeout (ascq=0x2). > > This patch is about printing an error message when a non-handled message is received. > This could help diagnose a possible miss-behavior of the controller and/or a missing implementation in the Linux Kernel. > > This patch keeps the exact same error handling but prints a message if an ascq != 1 income. > > Signed-off-by: Erwan Velu <e.velu@xxxxxxxxxx> Acked-by: Don Brace <don.brace@xxxxxxxxxxxxx>