Received: from mail-iy0-f177.google.com ([209.85.210.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Rlt6R-00023b-Kk for linux-mtd@lists.infradead.org; Sat, 14 Jan 2012 02:12:20 +0000 Received: by mail-iy0-f177.google.com with SMTP id l21so6125714iak.36 for ; Fri, 13 Jan 2012 18:12:19 -0800 (PST) From: Brian Norris To: Subject: [PATCH 4/4] mtd: nand: correct comment on nand_chip badblockbits Date: Fri, 13 Jan 2012 18:11:50 -0800 Message-Id: <1326507110-10893-4-git-send-email-computersforpeace@gmail.com> In-Reply-To: <1326507110-10893-1-git-send-email-computersforpeace@gmail.com> References: <1326507110-10893-1-git-send-email-computersforpeace@gmail.com> Cc: Brian Norris , David Woodhouse , Artem Bityutskiy List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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: Brian Norris --- include/linux/mtd/nand.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 63b5a8b..609868f 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -448,8 +448,9 @@ struct nand_buffers { * will be copied to the appropriate nand_bbt_descr's. * @badblockpos: [INTERN] position of the bad block marker in the oob * area. - * @badblockbits: [INTERN] number of bits to left-shift the bad block - * number + * @badblockbits: [INTERN] minimum number of set bits in a good block's + * bad block marker position; i.e., BBM == 11110111b is + * not bad when badblockbits == 7 * @cellinfo: [INTERN] MLC/multichip data from chip ident * @numchips: [INTERN] number of physical chips * @chipsize: [INTERN] the size of one chip for multichip arrays -- 1.7.5.4