Files
twx-linux/drivers/scsi
Tyrel Datwyler 6f0caecda5 scsi: fix upper bounds check of sense key in scsi_sense_key_string()
commit a87eeb900d upstream.

Commit 655ee63cf3 ("scsi constants: command, sense key + additional
sense string") added a "Completed" sense string with key 0xF to
snstext[], but failed to updated the upper bounds check of the sense key
in scsi_sense_key_string().

Fixes: 655ee63cf3 ("[SCSI] scsi constants: command, sense key + additional sense strings")
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-15 08:27:54 +02:00
..
2016-04-12 09:08:39 -07:00
…
2015-11-09 17:11:57 -08:00
…
2015-11-09 17:11:57 -08:00
2015-11-09 17:11:57 -08:00
2015-11-12 07:06:18 -05:00
2016-09-15 08:27:43 +02:00
2015-12-03 09:32:33 -08:00
…
2015-11-12 07:06:18 -05:00
2015-11-12 07:06:18 -05:00
…
…
…
…
…
…
2016-07-27 09:47:39 -07:00
…
…
…
…
…
…
…
…
2015-12-03 09:32:33 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-11-09 17:11:57 -08:00
…
…
2015-11-09 16:32:14 -08:00
…
…
…
…
2015-12-03 09:32:33 -08:00
2015-11-09 12:39:28 -05:00
2015-12-03 09:32:33 -08:00
2015-11-09 12:39:28 -05:00
…
…
…
…
…
…
…
…
2015-11-09 19:32:41 -05:00
…
…
2015-12-03 09:32:33 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-11-12 07:06:18 -05:00
…
…
…
…
…
…
2015-11-09 17:11:57 -08:00
…
…
…
2016-04-12 09:08:38 -07:00
…
…
2016-02-25 12:01:16 -08:00
…
2015-12-03 09:32:33 -08:00
…
2015-11-09 17:42:19 -08:00
…
…
…
…
…
…
…
…
…
…