libata-eh: Set 'information' field for autosense
authorHannes Reinecke <hare@suse.de>
Mon, 4 Apr 2016 09:43:59 +0000 (11:43 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 4 Apr 2016 16:07:41 +0000 (12:07 -0400)
commit492bf62107347aca764070dbc9d412da6bda73d1
tree6e91e0241f495f04789766492cd254b6f804afb7
parentcf8b49b0af39b8e8fa358623acda57f01251b6d4
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.

tj: s/(u64)-1/U64_MAX/

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