From: Linus Walleij <linus.walleij@linaro.org>
To: linux-mtd@lists.infradead.org
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
Linus Walleij <linus.walleij@linaro.org>,
David Woodhouse <dwmw2@infradead.org>
Subject: [PATCH] mtd/fsmc_nand: fix build error
Date: Mon, 18 Jul 2011 12:55:39 +0200 [thread overview]
Message-ID: <1310986539-458-1-git-send-email-linus.walleij@linaro.org> (raw)
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
next reply other threads:[~2011-07-18 10:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-18 10:55 Linus Walleij [this message]
2011-07-20 5:01 ` [PATCH] mtd/fsmc_nand: fix build error Artem Bityutskiy
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=1310986539-458-1-git-send-email-linus.walleij@linaro.org \
--to=linus.walleij@linaro.org \
--cc=dbaryshkov@gmail.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