[PATCH] mtd: subpagetest: fix wrong written check in function write_eraseblock2

Brian Norris computersforpeace at gmail.com
Thu Jun 8 16:43:16 PDT 2017


On Thu, Jun 01, 2017 at 05:01:19PM +0800, xiaolei.li at mediatek.com wrote:
> From: Xiaolei Li <xiaolei.li at mediatek.com>
> 
> 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 at mediatek.com>

Applied to l2-mtd.git



More information about the linux-mtd mailing list