mtd/maps/ceiva.c: possibly uninitialised local variable nr
Artem Bityutskiy
dedekind1 at gmail.com
Tue Feb 9 06:47:41 EST 2010
On Mon, 2010-02-01 at 10:26 +0000, d binderman wrote:
[snip]
> static int __init clps_setup_flash(void)
> {
> int nr = 0;
>
> #ifdef CONFIG_ARCH_CEIVA
> if (machine_is_ceiva()) {
> info[0].base = CS0_PHYS_BASE;
> info[0].size = SZ_32M;
> info[0].width = CEIVA_FLASH_WIDTH;
> info[1].base = CS1_PHYS_BASE;
> info[1].size = SZ_32M;
> info[1].width = CEIVA_FLASH_WIDTH;
> nr = 2;
> }
> #endif
> return nr;
> }
I've made a patch for this in my l2-mtd-2.6 / master, thanks. Here is
the URL, but it is not persistent:
http://git.infradead.org/users/dedekind/l2-mtd-2.6.git/commit/331d53a3eca96f7ae0a216aa9eb3addffccc9e6f
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list