hpsa: correct off-by-one sizing of chained SG block
authorWebb Scales <webbnh@hp.com>
Fri, 14 Nov 2014 23:26:43 +0000 (17:26 -0600)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:11:23 +0000 (09:11 +0100)
commit1a63ea6f244b10117601f96e7bde9f8d21ebe458
tree7340e33cc01a7858b7fed22eeb83f9b0e3e32610
parent7d2cce58a765e802959471f8a7edd83f113ad637
hpsa: correct off-by-one sizing of chained SG block

Correct the size calculation of the chained SG block

Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Webb Scales <webbnh@hp.com>
Reviewed-by: Stephen M. Cameron <stephenmcameron@gmail.com>
Reviewed-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c