Skip to content

mtd: mtd_oobtest: fix bitflip_limit usage in test case 3

Roger Quadros linux-mtd lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mtd: mtd_oobtest: Fix bitflip_limit usage in test case 3drivers/mtd/tests/oobtest.c+34 -271 reply
2/2mtd: mtd_oobtest: Fix the address offset with vary_offset casedrivers/mtd/tests/oobtest.c+12 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] mtd: mtd_oobtest: fix bitflip_limit usage in test case 3

Hi,

The bitflip_limit parameter was recently introduced to oobtest.
However, it didn't implement the bitflip_limit check for all cases in test case 3. Patch 1 tackles the missed scenarios in test case 3, to adhere to bitflip_limit parameter.

Patch 2 extends the memory compare helper so that we can pass a non-zero offset to be printed in the error message. This is useful in the vary_offset case when we need to compare only a section of the OOB available block.

--
cheers,
-roger

Roger Quadros (2):
mtd: mtd_oobtest: Fix bitflip_limit usage in test case 3
mtd: mtd_oobtest: Fix the address offset with vary_offset case

 drivers/mtd/tests/oobtest.c | 79 ++++++++++++++++++++++++++-------------------
 1 file changed, 46 insertions(+), 33 deletions(-)
Signature · 1 line
2.1.0