mtd: create bitflips in the correct page
In mtd_peb_create_bitflips() buf always points to the first page in a
block. If we want to create bitflips in other pages we have to add the
offset into the block.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 441e9f5 commit 822a04f43c5286cb1127a6d94b4a4dd147396a5e
@Sascha Hauer Sascha Hauer authored on 14 Mar 2017
Showing 1 changed file
View
drivers/mtd/peb.c