Patchwork mtd: Better comment NAND_BBT_NO_OOB

login
register
mail settings
Submitter Shmulik Ladkani
Date June 26, 2012, 2:28 p.m.
Message ID <20120626172828.4a458196@pixies.home.jungo.com>
Download mbox | patch
Permalink /patch/167409/
State New
Headers show

Comments

Shmulik Ladkani - June 26, 2012, 2:28 p.m.
From: Shmulik Ladkani <shmulik.ladkani@gmail.com>

Amend the comment to reflect the fact NAND_BBT_NO_OOB refers to the
location of the bad block table marker.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
---
Artem Bityutskiy - June 28, 2012, 4:13 p.m.
On Tue, 2012-06-26 at 17:28 +0300, Shmulik Ladkani wrote:
> From: Shmulik Ladkani <shmulik.ladkani@gmail.com>
> 
> Amend the comment to reflect the fact NAND_BBT_NO_OOB refers to the
> location of the bad block table marker.
> 
> Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>

Pushed to l2-mtd.git, thanks!

Patch

diff --git a/include/linux/mtd/bbm.h b/include/linux/mtd/bbm.h
index 5d9fcb7..211ff67 100644
--- a/include/linux/mtd/bbm.h
+++ b/include/linux/mtd/bbm.h
@@ -108,7 +108,10 @@  struct nand_bbt_descr {
  * OOB area. This option is passed to the default bad block table function.
  */
 #define NAND_BBT_USE_FLASH	0x00020000
-/* Do not store flash based bad block table in OOB area; store it in-band */
+/*
+ * Do not store flash based bad block table marker in the OOB area; store it
+ * in-band.
+ */
 #define NAND_BBT_NO_OOB		0x00040000
 /*
  * Do not write new bad block markers to OOB; useful, e.g., when ECC covers