diff options
| author | 2010-06-01 12:17:48 +0200 | |
|---|---|---|
| committer | 2010-06-01 12:17:48 +0200 | |
| commit | 713b686494a577b3c4f4f9f585a4705fc30d51c2 (patch) | |
| tree | 3b7fa639a3b1bf1a6addd0d317558ca66bf9dd6c /include/linux | |
| parent | Preparing 8.3.8rc2 (diff) | |
| download | linux-dev-713b686494a577b3c4f4f9f585a4705fc30d51c2.tar.xz linux-dev-713b686494a577b3c4f4f9f585a4705fc30d51c2.zip | |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
