mtd: block2mtd: check device size
authorFabian Frederick <fabf@skynet.be>
Thu, 6 Mar 2014 10:04:22 +0000 (18:04 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 11 Mar 2014 05:42:31 +0000 (22:42 -0700)
commitea6d833a3fddcd1d60414d48f34c7f4fbe88608f
tree5a1bfbc1fbe161975ff3887d4625c8ab78bbf815
parent90445ff6241e2a13445310803e2efa606c61f276
mtd: block2mtd: check device size

fixme applied : check device size is a multiple of erasesize.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/block2mtd.c