libata: evaluate SCSI sense code
authorHannes Reinecke <hare@suse.de>
Mon, 4 Apr 2016 09:44:01 +0000 (11:44 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 4 Apr 2016 16:07:41 +0000 (12:07 -0400)
commit3852e37382664a06cd006bb389a8223e32cedf45
treebcdb3a96ee06503433225cde2d3d8dd84d60213a
parentb525e7731b90ebc7a70a095fc5d5363408b94274
libata: evaluate SCSI sense code

Whenever a sense code is set it would need to be evaluated to
update the error mask.

tj: Cosmetic formatting updates.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-eh.c
drivers/scsi/scsi_error.c
include/scsi/scsi_eh.h