diff options
| author | Robert Jarzmik <[email protected]> | 2012-03-22 20:00:50 +0000 |
|---|---|---|
| committer | David Woodhouse <[email protected]> | 2012-03-27 00:03:00 +0000 |
| commit | a7baef1211b0ac218299965481e7cff9d68c1edd (patch) | |
| tree | d9737628c725cb983dfebf9958c3093c4f66573d /lib/mpi/mpi-bit.c | |
| parent | mtd: nand: gpmi: fix function annotations (diff) | |
| download | kernel-a7baef1211b0ac218299965481e7cff9d68c1edd.tar.gz kernel-a7baef1211b0ac218299965481e7cff9d68c1edd.zip | |
mtd: docg3 fix inbound calculations
The last erase block was not accessible, as the out of bound
check was incorrectly rejecting the last block.
The read/write/erase offset checks were forbidding the usage of the
last block, because of the calculation which was considering the
byte after the last instead of the last byte.
Signed-off-by: Robert Jarzmik <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
