[BUG] mtd-utils: nandwrite: invalid erase after page write failure

Artem Bityutskiy dedekind1 at gmail.com
Fri Aug 19 13:08:11 EDT 2011


On Thu, 2011-08-11 at 11:39 -0400, Mike Frysinger wrote:
> On Thu, Aug 11, 2011 at 11:30, Fryar, Jeff wrote:
> > +                               if (mtd_erase(mtd_desc, &mtd, fd, (i/mtd.eb_size))) {
> 
> we dont need to conserve whitespace.  please use spaces around "/" operators.

Yeah, I added white-spaces and removed unneeded brackets.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list