aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorRobert Jarzmik <[email protected]>2012-03-22 20:00:50 +0000
committerDavid Woodhouse <[email protected]>2012-03-27 00:03:00 +0000
commita7baef1211b0ac218299965481e7cff9d68c1edd (patch)
treed9737628c725cb983dfebf9958c3093c4f66573d /lib/mpi/mpi-cmp.c
parentmtd: nand: gpmi: fix function annotations (diff)
downloadkernel-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-cmp.c')
0 files changed, 0 insertions, 0 deletions