From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-da0-x22c.google.com ([2607:f8b0:400e:c00::22c]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UEbpI-0005by-Eu for linux-mtd@lists.infradead.org; Sun, 10 Mar 2013 08:41:53 +0000 Received: by mail-da0-f44.google.com with SMTP id z20so494959dae.3 for ; Sun, 10 Mar 2013 00:41:51 -0800 (PST) From: Brian Norris To: Subject: [PATCH 3/3] mtd: nand: reword nand_chip bad block interface comments Date: Sun, 10 Mar 2013 00:41:17 -0800 Message-Id: <1362904877-20144-3-git-send-email-computersforpeace@gmail.com> In-Reply-To: <1362904877-20144-1-git-send-email-computersforpeace@gmail.com> References: <1362904877-20144-1-git-send-email-computersforpeace@gmail.com> Cc: Brian Norris , Artem Bityutskiy List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This remedies a few problems: (1) The use of "the" vs. "a" is a little confusing, IMO. (2) nand_chip.block_bad is used exclusively for checking the OOB bad block markers of a NAND. Any BBT functionality is handled in nand_bbt.c, so this description should differentiate itself from nand_bbt.c. Signed-off-by: Brian Norris --- include/linux/mtd/nand.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 591eeeb..234fbff 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -379,8 +379,8 @@ struct nand_buffers { * @write_buf: [REPLACEABLE] write data from the buffer to the chip * @read_buf: [REPLACEABLE] read data from the chip into the buffer * @select_chip: [REPLACEABLE] select chip nr - * @block_bad: [REPLACEABLE] check, if the block is bad - * @block_markbad: [REPLACEABLE] mark the block bad + * @block_bad: [REPLACEABLE] check if a block is bad, using OOB markers + * @block_markbad: [REPLACEABLE] mark a block bad * @cmd_ctrl: [BOARDSPECIFIC] hardwarespecific function for controlling * ALE/CLE/nCE. Also used to write command and address * @init_size: [BOARDSPECIFIC] hardwarespecific function for setting -- 1.8.1.5