All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] avr32: fix build error in ATSTK1002 code
Date: Wed, 25 Jul 2012 16:15:21 +0800	[thread overview]
Message-ID: <20120725081521.GA18328@localhost> (raw)
In-Reply-To: <20120722022541.GA8279@localhost>

Andrew, will you accept this fix? It's obviously caused by a typo in
commit 1754aab9bb86.

On Sun, Jul 22, 2012 at 10:25:41AM +0800, Fengguang Wu wrote:
> arch/avr32/boards/atstk1000/atstk1002.c:100: error: 'num_partitions' undeclared here (not in a function)
> 
> which is introduced by commit 1754aab9bb86 ("mtd: ATMEL, AVR32: inline
> nand partition table access ").
> 
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>  arch/avr32/boards/atstk1000/atstk1002.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c
> index dc52633..6c80aba 100644
> --- a/arch/avr32/boards/atstk1000/atstk1002.c
> +++ b/arch/avr32/boards/atstk1000/atstk1002.c
> @@ -97,7 +97,7 @@ static struct atmel_nand_data atstk1006_nand_data __initdata = {
>  	.enable_pin	= GPIO_PIN_PB(29),
>  	.ecc_mode	= NAND_ECC_SOFT,
>  	.parts		= nand_partitions,
> -	.num_parts	= ARRAY_SIZE(num_partitions),
> +	.num_parts	= ARRAY_SIZE(nand_partitions),
>  };
>  #endif
>  
> -- 
> 1.7.10
> 

      reply	other threads:[~2012-07-25  8:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-22  2:25 [PATCH] avr32: fix build error in ATSTK1002 code Fengguang Wu
2012-07-25  8:15 ` Fengguang Wu [this message]

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=20120725081521.GA18328@localhost \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=dbaryshkov@gmail.com \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.