summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-sysfs.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2015-07-15 07:55:36 (GMT)
committerNicholas Bellinger <nab@linux-iscsi.org>2015-07-24 05:48:49 (GMT)
commit12306b425d0dbab7b60f54e02d67cf3dfae494d1 (patch)
tree112015efc7d82333d5eb90e6f162cdbf9af87523 /drivers/rtc/rtc-sysfs.c
parent3e963b2d3c93e0546e911d681f37d35f0f79b54f (diff)
downloadlinux-12306b425d0dbab7b60f54e02d67cf3dfae494d1.tar.xz
scsi: Fix wrong additional sense length in descriptor format
The sense header additional sense length should be the accumulated size of all the descriptors. Information descriptor size is 12 bytes. When setting the additional sense length we should add 0xc instead of 0xa. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/rtc/rtc-sysfs.c')
0 files changed, 0 insertions, 0 deletions