summaryrefslogtreecommitdiff
path: root/drivers/scsi/megaraid/megaraid_sas_base.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-03-18 16:55:38 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-03-18 22:49:44 +0300
commitba08311647892cc7912de74525fd78416caf544a (patch)
tree64525988101b8094c1d3419bd3ee5bf5e1cdc0e3 /drivers/scsi/megaraid/megaraid_sas_base.c
parentc80fa12e6d4ab07b6aff9be1b3be7df265b9497b (diff)
downloadlinux-ba08311647892cc7912de74525fd78416caf544a.tar.xz
scsi_common: do not clobber fixed sense information
For fixed sense the information field is 32 bits, to we need to truncate the information field to avoid clobbering the sense code. Fixes: a1524f226a02 ("libata-eh: Set 'information' field for autosense") Cc: <stable@vger.kernel.org> #v4.1+ Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Lee Duncan <lduncan@suse.com> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas_base.c')
0 files changed, 0 insertions, 0 deletions