projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f916d
)
MLK-11949 mtd: gpmi: fix the typo in .bbm_in_data_chunk()
author
Fugang Duan
<b38611@freescale.com>
Thu, 3 Dec 2015 07:43:33 +0000
(15:43 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:28 +0000
(14:49 -0500)
Fix the typo in when check bch geometry ecc chunk0 and chunkn size.
Signed-off-by: Fugang Duan <B38611@freescale.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
index
597d40f
..
716574e
100644
(file)
--- a/
drivers/mtd/nand/gpmi-nand/gpmi-nand.c
+++ b/
drivers/mtd/nand/gpmi-nand/gpmi-nand.c
@@
-192,7
+192,7
@@
static inline bool bbm_in_data_chunk(struct gpmi_nand_data *this,
struct mtd_info *mtd = &this->nand.mtd;
unsigned int i, j;
- if (geo->ecc_chunk0_size != geo->ecc_chunk
0
_size) {
+ if (geo->ecc_chunk0_size != geo->ecc_chunk
n
_size) {
dev_err(this->dev, "The size of chunk0 must equal to chunkn\n");
return false;
}