Re: [PATCH] UBI: take 2

From: Artem Bityutskiy
Date: Fri Dec 01 2006 - 02:50:41 EST


Thank you Andrew,

On Thu, 2006-11-30 at 22:24 -0600, Josh Boyer wrote:
> On Thu, 2006-11-30 at 17:06 -0800, Andrew Morton wrote:
> > err = ubi_eba_write_leb(ubi, vol_id, lnum, tbuf, off, len,
> > - UBI_DATA_UNKNOWN, &written, 0, NULL);
> > + UBI_DATA_UNKNOWN, &written, NULL);
> Nice catch. Odd that gcc doesn't throw a warning on my system with it
> being like that.

Because this piece of code is for debugging purposes only and it is
usually disabled. You probably haven't ever enabled it.

--
Best regards,
Artem Bityutskiy (ÐÐÑÑÑÐÐÐ ÐÑÑÑÐ)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/