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: NDan Carpenter <error27@gmail.com> Signed-off-by: NJens Axboe <jaxboe@fusionio.com>
Showing
想要评论请 注册 或 登录