libata-eh: Set 'information' field for autosense
authorHannes Reinecke <hare@suse.de>
Fri, 27 Mar 2015 15:46:37 +0000 (16:46 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 27 Mar 2015 15:59:22 +0000 (11:59 -0400)
commita1524f226a02aa6edebd90ae0752e97cfd78b159
tree3b694223de3a939c51271f779966f1a11c74c74b
parentfe7173c206de63fc28475ee6ae42ff95c05692de
libata-eh: Set 'information' field for autosense

If NCQ autosense or the sense data reporting feature is enabled
the LBA of the offending command should be stored in the sense
data 'information' field.

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