From: Dan Carpenter Date: Mon, 28 Dec 2009 18:08:39 +0000 (+0200) Subject: [SCSI] FlashPoint: fix off by one tests X-Git-Tag: v2.6.34-rc1~284^2~141 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d7ebb9c7a04d29efce1099024944dfd94d9f63c;p=pandora-kernel.git [SCSI] FlashPoint: fix off by one tests The check on MAX_SCSI_TAR should be >= instead of > or we could go past the end of the array. Joe Eykholt aslo correctly points out that the check on MAX_LUN should be >= as well. That matches with how it is used in the rest of the file. Signed-off-by: Dan Carpenter Signed-off-by: James Bottomley --- Reading git-diff-tree failed