Commit 661a0832 authored by Brian Norris's avatar Brian Norris Committed by David Woodhouse

mtd: nand: correct comment on nand_chip badblockbits

The description for badblockbits is incorrect. I think someone just made
up a false description on the spot to satisfy some kerneldoc warning.
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 85443319
...@@ -448,8 +448,9 @@ struct nand_buffers { ...@@ -448,8 +448,9 @@ struct nand_buffers {
* will be copied to the appropriate nand_bbt_descr's. * will be copied to the appropriate nand_bbt_descr's.
* @badblockpos: [INTERN] position of the bad block marker in the oob * @badblockpos: [INTERN] position of the bad block marker in the oob
* area. * area.
* @badblockbits: [INTERN] number of bits to left-shift the bad block * @badblockbits: [INTERN] minimum number of set bits in a good block's
* number * bad block marker position; i.e., BBM == 11110111b is
* not bad when badblockbits == 7
* @cellinfo: [INTERN] MLC/multichip data from chip ident * @cellinfo: [INTERN] MLC/multichip data from chip ident
* @numchips: [INTERN] number of physical chips * @numchips: [INTERN] number of physical chips
* @chipsize: [INTERN] the size of one chip for multichip arrays * @chipsize: [INTERN] the size of one chip for multichip arrays
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment