RE: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flashafter erasure interrupted

From: Qi Wang çè (qiwang)
Date: Mon Jan 06 2014 - 00:11:36 EST


>Please, remember that I pushed your patch to a temporary branch, only
>for you to be able to easily pick it. I do not send it upstream.

>As I said, I need to you look at it and confirm that it is all-right.
>And if it is not all-right, correct it.

>This is because I modified it myself.

>So waiting for your response on this.
I checked the code you modified, compile, and run on our platform, it is ok.

+ ubi_err("cannot invalidate PEB %d, write returned %d write returned %d",
+ pnum, err, err);

But I think above code print "write err" twice. so I suggest to change to below:

+ ubi_err("cannot invalidate PEB %d, write returned %d", pnum, err);

I will send you the patch in another email convenient for you to apply patch.
Thanks
--
qiwang
¢éì®&Þ~º&¶¬–+-±éÝ¥Šw®žË±Êâmébžìdz¹Þ)í…æèw*jg¬±¨¶‰šŽŠÝj/êäz¹ÞŠà2ŠÞ¨è­Ú&¢)ß«a¶Úþø®G«éh®æj:+v‰¨Šwè†Ù>Wš±êÞiÛaxPjØm¶Ÿÿà -»+ƒùdš_