-----Original Message----- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-ow...@vger.kernel.org] On Behalf Of Erwan Velu Sent: Wednesday, April 10, 2019 6:03 AM Cc: Erwan Velu <e.v...@criteo.com>; Don Brace <don.br...@microsemi.com>; James E.J. Bottomley <j...@linux.ibm.com>; Martin K. Petersen <martin.peter...@oracle.com>; open list:MICROSEMI SMART ARRAY SMARTPQI DRIVER (smartpqi) <esc.storage...@microsemi.com>; open list:MICROSEMI SMART ARRAY SMARTPQI DRIVER (smartpqi) <linux-scsi@vger.kernel.org>; open list <linux-ker...@vger.kernel.org> 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 <erwanalia...@gmail.com> 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.v...@criteo.com> Acked-by: Don Brace <don.br...@microsemi.com>