diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2012-03-23 00:00:50 +0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-27 04:03:00 +0400 |
commit | a7baef1211b0ac218299965481e7cff9d68c1edd (patch) | |
tree | d9737628c725cb983dfebf9958c3093c4f66573d /Documentation/usb | |
parent | a78da28776496d3a850ce741d3474b65057e156b (diff) | |
download | linux-a7baef1211b0ac218299965481e7cff9d68c1edd.tar.xz |
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 'Documentation/usb')
0 files changed, 0 insertions, 0 deletions