diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2012-03-22 21:00:50 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-27 02:03:00 +0200 |
commit | a7baef1211b0ac218299965481e7cff9d68c1edd (patch) | |
tree | d9737628c725cb983dfebf9958c3093c4f66573d /drivers/hv/ring_buffer.c | |
parent | mtd: nand: gpmi: fix function annotations (diff) | |
download | linux-a7baef1211b0ac218299965481e7cff9d68c1edd.tar.xz linux-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 <robert.jarzmik@free.fr>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/hv/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions