Merge pull request #5375 from kegilbert/chainingbd-address-iter-fix

ChainingBlockDevice: changing blocks address fix
pull/5398/merge
Jimmy Brisson 2017-10-30 10:09:51 -05:00 committed by GitHub
commit 27533ff16e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ int ChainingBlockDevice::read(void *b, bd_addr_t addr, bd_size_t size)
size -= read;
}
addr -= size;
addr -= bdsize;
}
return 0;
@ -140,7 +140,7 @@ int ChainingBlockDevice::program(const void *b, bd_addr_t addr, bd_size_t size)
size -= program;
}
addr -= size;
addr -= bdsize;
}
return 0;
@ -169,7 +169,7 @@ int ChainingBlockDevice::erase(bd_addr_t addr, bd_size_t size)
size -= erase;
}
addr -= size;
addr -= bdsize;
}
return 0;