commit | 5d7ebb9c7a04d29efce1099024944dfd94d9f63c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Mon Dec 28 20:08:39 2009 +0200 |
committer | James Bottomley <James.Bottomley@suse.de> | Mon Jan 18 10:48:14 2010 -0600 |
tree | 55785299094a271f9a8b63ff6b4e46585d6a0521 | |
parent | 0ed8570ef4d51bb46e2028b2e3c3ddd1f860e193 [diff] |
[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 <error27@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>