hpsa: guard against overflowing raid map array
authorStephen Cameron <stephenmcameron@gmail.com>
Fri, 23 Jan 2015 22:44:14 +0000 (16:44 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:42 +0000 (09:57 -0800)
commit07543e0c05de177f2e9612ae7756e904b329379c
treec8ffbbb1b192c4452047999b3175a17673892658
parente4aa3e6ae2a82ecfce7eecc6c52dcaba7b9e3f84
hpsa: guard against overflowing raid map array

In the code that translates logical drive LBAs to physical
drive LBAs if we overflow the raid map disk data array we
will get the wrong answers.  We do not expect that to happen,
but best to be on the safe side and guard against it anyway.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c
This page took 0.028034 seconds and 5 git commands to generate.