public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: d binderman <dcb314@hotmail.com>
Cc: linux-mtd@lists.infradead.org, dwmw2@infradead.org
Subject: Re: mtd/maps/ceiva.c: possibly uninitialised local variable nr
Date: Tue, 09 Feb 2010 13:47:41 +0200	[thread overview]
Message-ID: <1265716061.2006.128.camel@localhost> (raw)
In-Reply-To: <BLU108-W25DE0DC220AD6F99A8C5879C580@phx.gbl>

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 (Артём Битюцкий)

  reply	other threads:[~2010-02-09 11:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-01 10:26 mtd/maps/ceiva.c: possibly uninitialised local variable nr d binderman
2010-02-09 11:47 ` Artem Bityutskiy [this message]
2010-02-25 12:50 ` David Woodhouse
2010-02-25 13:25   ` Russell King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1265716061.2006.128.camel@localhost \
    --to=dedekind1@gmail.com \
    --cc=dcb314@hotmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox