remarkable-linux/drivers/mtd/tests
Roger Quadros 718e38b4d9 mtd: mtd_oobtest: Fix the address offset with vary_offset case
When vary_offset is set (e.g. test case 3), the offset is not always
zero so memcmpshow() will show the wrong offset in the print message.
To fix this we introduce a new function memcmpshowoffset() which takes
offset as a parameter and displays the right offset and use it in
the case where offset is non zero.

The old memcmpshow() functionality is preserved by converting it into
a macro with offset preset to 0.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2015-08-27 16:30:01 -07:00
..
Makefile mtd: tests: rename sources in order to link a helper object 2013-08-30 21:34:06 +01:00
mtd_nandecctest.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
mtd_test.c mtd: tests: fix integer overflow issues 2014-08-19 11:53:08 -07:00
mtd_test.h mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
nandbiterrs.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
oobtest.c mtd: mtd_oobtest: Fix the address offset with vary_offset case 2015-08-27 16:30:01 -07:00
pagetest.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
readtest.c mtd: readtest: don't clobber error reports 2015-05-14 09:56:31 -07:00
speedtest.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
stresstest.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
subpagetest.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
torturetest.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00