[U-Boot] [PATCH v5 4/5] mtdparts: add new sub-command "spread"

Scott Wood scottwood at freescale.com
Mon Aug 30 23:05:01 CEST 2010


On Mon, 30 Aug 2010 16:01:05 -0500
Scott Wood <scottwood at freescale.com> wrote:

> On Mon, 30 Aug 2010 13:38:59 -0400
> Ben Gardiner <bengardiner at nanometrics.ca> wrote:
> 
> > +	if (!truncated) {
> > +		mtd_get_len_incl_bad(mtd, part->offset + net_size,
> > +				     mtd->erasesize, &padding_size, &truncated);
> > +		padding_size -= mtd->erasesize;
> 
> What if this is the last partition?  You're relying on an
> implementation quick (bug?) 

Grr, s/quick/quirk/

-Scot



More information about the U-Boot mailing list