[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1164947098.19697.45.camel@crusty.rchland.ibm.com>
Date: Thu, 30 Nov 2006 22:24:58 -0600
From: Josh Boyer <jwboyer@...ux.vnet.ibm.com>
To: Andrew Morton <akpm@...l.org>
Cc: dedekind@...radead.org, tglx@...utronix.de, haver@...t.ibm.com,
arnez@...t.ibm.com, llinux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] UBI: take 2
On Thu, 2006-11-30 at 17:06 -0800, Andrew Morton wrote:
> >
> > The source code is available at the UBI GIT tree:
> > git://git.infradead.org/ubi-2.6.git
>
> Got that, thanks. It needs a bit of help:
>
> --- a/drivers/mtd/ubi/cdev.c~git-ubi-fix
> +++ a/drivers/mtd/ubi/cdev.c
> @@ -1185,7 +1185,7 @@ static ssize_t vol_cdev_direct_write(str
> len, vol_id, lnum, off);
>
> err = ubi_eba_write_leb(ubi, vol_id, lnum, tbuf, off, len,
> - UBI_DATA_UNKNOWN, &written, 0, NULL);
> + UBI_DATA_UNKNOWN, &written, NULL);
> if (unlikely(err)) {
> count -= written;
> *offp += written;
> _
Nice catch. Odd that gcc doesn't throw a warning on my system with it
being like that.
CC drivers/mtd/ubi/badeb.o
CC drivers/mtd/ubi/upd.o
CC drivers/mtd/ubi/sysfs.o
CC drivers/mtd/ubi/cdev.o
CC drivers/mtd/ubi/uif.o
CC drivers/mtd/ubi/vtbl.o
CC drivers/mtd/ubi/volmgmt.o
CC drivers/mtd/ubi/eba.o
Anyway, we'll get the patch into the tree ASAP.
josh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists