aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2012-03-22 21:40:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-22 15:31:00 -0700
commit7711ccdab28160e492e3a0b2aa53183b46147f12 (patch)
tree9b993856cf9957d6b6d909adf001cca2631e455d /tools
parentcc17d5715a85ce9f0dced784025c5a953fb1155c (diff)
downloadkernel_samsung_smdk4412-7711ccdab28160e492e3a0b2aa53183b46147f12.zip
kernel_samsung_smdk4412-7711ccdab28160e492e3a0b2aa53183b46147f12.tar.gz
kernel_samsung_smdk4412-7711ccdab28160e492e3a0b2aa53183b46147f12.tar.bz2
cciss: Fix scsi tape io with more than 255 scatter gather elements
commit bc67f63650fad6b3478d9ddfd5406d45a95987c9 upstream. The total number of scatter gather elements in the CISS command used by the scsi tape code was being cast to a u8, which can hold at most 255 scatter gather elements. It should have been cast to a u16. Without this patch the command gets rejected by the controller since the total scatter gather count did not add up to the right value resulting in an i/o error. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions