Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd/fsmc_nand: fix build error
@ 2011-07-18 10:55 Linus Walleij
  2011-07-20  5:01 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2011-07-18 10:55 UTC (permalink / raw)
  To: linux-mtd; +Cc: Dmitry Eremin-Solenikov, Linus Walleij, David Woodhouse

Recent -next does not build due to malformed code, so just fix it.

Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Dmitry can you check that I fixed this the right way?
---
 drivers/mtd/nand/fsmc_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c
index 8cc8065..e53b760 100644
--- a/drivers/mtd/nand/fsmc_nand.c
+++ b/drivers/mtd/nand/fsmc_nand.c
@@ -719,7 +719,7 @@ static int __init fsmc_nand_probe(struct platform_device *pdev)
 				partition_info_128KB_blk,
 			host->mtd.size <= 0x04000000 ?
 				ARRAY_SIZE(partition_info_16KB_blk) :
-				ARRAY_SIZE(partition_info_128KB_blk),
+				ARRAY_SIZE(partition_info_128KB_blk));
 	if (ret)
 		goto err_probe;
 
-- 
1.7.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mtd/fsmc_nand: fix build error
  2011-07-18 10:55 [PATCH] mtd/fsmc_nand: fix build error Linus Walleij
@ 2011-07-20  5:01 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2011-07-20  5:01 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Dmitry Eremin-Solenikov, David Woodhouse, linux-mtd

On Mon, 2011-07-18 at 12:55 +0200, Linus Walleij wrote:
> Recent -next does not build due to malformed code, so just fix it.
> 
> Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> Dmitry can you check that I fixed this the right way?
> ---
>  drivers/mtd/nand/fsmc_nand.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Thanks, instead of taking this patch I've folded it in Dmitry's
"mtd: fsmc_nand.c: use mtd_device_parse_register" patch to make sure
upstream is bisectable. I've added your name to the commit message.

Pushed to l2-mtd-2.6.git, thanks!

FYI: my l2-mtd-2.6.git is visible in -next now, so you should see
the fix there soon.

-- 
Best Regards,
Artem Bityutskiy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-20  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-18 10:55 [PATCH] mtd/fsmc_nand: fix build error Linus Walleij
2011-07-20  5:01 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox