From: Robert Jarzmik Date: Thu, 22 Mar 2012 20:00:50 +0000 (+0100) Subject: mtd: docg3 fix inbound calculations X-Git-Tag: v3.4-rc1~16^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7baef1211b0ac218299965481e7cff9d68c1edd;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed