Dan Carpenter 713b686494 cciss: call BUG() earlier
I moved the range check after the increment.  The current code would
write past the end of the array once before calling BUG().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-06-01 12:17:48 +02:00
..
2010-06-01 11:12:27 +02:00
2010-06-01 11:09:20 +02:00
2010-06-01 12:17:48 +02:00
2010-02-22 13:44:45 +01:00
2010-05-11 09:59:26 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2010-05-11 09:02:55 +02:00
2010-05-21 18:31:21 -04:00
2009-10-01 21:17:49 +02:00
2005-04-16 15:20:36 -07:00
2009-03-26 21:15:27 +01:00
2008-10-21 07:48:11 -04:00