From: Frank Haverkamp <haver@vnet.ibm.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
MTD Mailinglist <linux-mtd@lists.infradead.org>
Subject: [PATCH] [MTD] NAND: Fix typo ndfc.c
Date: Wed, 20 Sep 2006 17:24:52 +0200 [thread overview]
Message-ID: <1158765892.5120.11.camel@localhost.localdomain> (raw)
[PATCH] [MTD] NAND: Fix typo ndfc.c
Due to this typo, a wrong ECC layout table is choosen.
Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
---
drivers/mtd/nand/ndfc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: mtd-2.6.git/drivers/mtd/nand/ndfc.c
===================================================================
--- mtd-2.6.git.orig/drivers/mtd/nand/ndfc.c 2006-09-14
16:30:18.000000000 +0200
+++ mtd-2.6.git/drivers/mtd/nand/ndfc.c 2006-09-20 17:11:54.000000000
+0200
@@ -168,7 +168,7 @@ static void ndfc_chip_init(struct ndfc_n
chip->ecc.mode = NAND_ECC_HW;
chip->ecc.size = 256;
chip->ecc.bytes = 3;
- chip->ecclayout = mtd->pl_chip->ecclayout;
+ chip->ecclayout = chip->ecc.layout = mtd->pl_chip->ecclayout;
mtd->mtd.priv = chip;
mtd->mtd.owner = THIS_MODULE;
}
reply other threads:[~2006-09-20 15:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1158765892.5120.11.camel@localhost.localdomain \
--to=haver@vnet.ibm.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=tglx@linutronix.de \
/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