1
0
Fork 0
alistair23-linux/drivers/mtd/tests
Xiaolei Li c46adf0976 mtd: subpagetest: fix wrong written check in function write_eraseblock2
Write size in function write_eraseblock2 is subpgsize * k.
It is wrong to check whether written is equal to subpgsize after each
mtd_write.

Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2017-06-08 16:39:21 -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: nand: tests: fix regression introduced in mtd_nandectest 2016-03-04 16:59:20 -08:00
mtd_test.c mtd: tests: fix integer overflow issues 2014-08-19 11:53:08 -07:00
mtd_test.h sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
nandbiterrs.c mtd: nandbiterrs: Support for NAND biterrors test on platforms without raw write 2016-07-11 08:40:13 +02:00
oobtest.c mtd: kill the ecclayout->oobavail field 2016-03-07 16:23:09 -08:00
pagetest.c mtd: tests: consolidate kmalloc/memset 0 call to kzalloc 2016-01-06 15:17:42 -08:00
readtest.c mtd: readtest: don't clobber error reports 2015-05-14 09:56:31 -07:00
speedtest.c mtd: tests: Replace timeval with ktime_t 2015-10-26 13:23:47 -07:00
stresstest.c mtd: Make MTD tests cancelable 2015-04-05 18:12:53 -07:00
subpagetest.c mtd: subpagetest: fix wrong written check in function write_eraseblock2 2017-06-08 16:39:21 -07:00
torturetest.c mtd: tests: Replace timeval with ktime_t 2015-10-26 13:23:47 -07:00