mtd: mtd_oobtest: Fix bitflip_limit usage in test case 3
authorRoger Quadros <rogerq@ti.com>
Fri, 5 Dec 2014 15:18:39 +0000 (17:18 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 6 Apr 2015 01:10:23 +0000 (18:10 -0700)
In test case 3, we set vary_offset to write at different
offsets and lengths in the OOB available area. We need to
do the bitflip_limit check while checking for 0xff outside the
OOB offset + length area that we didn't modify during write.

Signed-off-by: Roger Quadros <rogerq@ti.com>
[Brian: whitespace fixup]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/tests/oobtest.c

Simple merge