diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-23 12:51:10 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-27 12:19:55 -0500 |
commit | 1377d8dd7e1b5526637958aabb5427bbee5a68d7 (patch) | |
tree | ed545c51f083c8470830b008ea71fd5f2454b643 /drivers/scsi/scsi_transport_spi.c | |
parent | 2b48aed182c65b3387b076364ab286c445aa4a93 (diff) | |
download | kernel_goldelico_gta04-1377d8dd7e1b5526637958aabb5427bbee5a68d7.zip kernel_goldelico_gta04-1377d8dd7e1b5526637958aabb5427bbee5a68d7.tar.gz kernel_goldelico_gta04-1377d8dd7e1b5526637958aabb5427bbee5a68d7.tar.bz2 |
[SCSI] FlashPoint: fix off-by-one errors
This patch fixes off-by-one errors in error checks (the variables are
used as array indexes for arrays with MAX_SCSI_TAR resp. MAX_LUN
elements) spotted by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/scsi_transport_spi.c')
0 files changed, 0 insertions, 0 deletions