Fam Zheng a485b23425 scsi: Introduce scsi_sense_buf_to_errno
This recognizes the "fixed" and "descriptor" format sense data, extracts
the sense key/asc/ascq fields then converts them to an errno.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170821141008.19383-4-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-09-19 14:09:11 +02:00
..
2017-04-11 20:07:15 +08:00
2016-02-04 17:01:04 +00:00
2017-09-07 19:02:30 +01:00
2016-02-04 17:01:04 +00:00
2017-05-17 17:30:45 +01:00
2016-02-04 17:01:04 +00:00
2016-06-16 18:39:03 +02:00
2016-02-04 17:01:04 +00:00
2017-08-11 14:12:44 +02:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2017-09-19 14:09:11 +02:00
2017-06-16 07:55:00 +08:00
2016-09-23 11:42:52 +08:00