]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commitd2b51c808745ca93c020ba34a3cf256ad52adc63
tree6dde6542d2de918e83a23df020c2b37e9b06074b
parent45fd357a491ecc56c0f9bb110bd05d9caf28889f
mtd: mtd_oobtest: Fix bitflip_limit usage in test case 3

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