Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: Better comment NAND_BBT_NO_OOB

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>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by

Shmulik Ladkani and committed by
David Woodhouse
f3bae3df b8c2d652

+4 -1
+4 -1
include/linux/mtd/bbm.h
··· 108 108 * OOB area. This option is passed to the default bad block table function. 109 109 */ 110 110 #define NAND_BBT_USE_FLASH 0x00020000 111 - /* Do not store flash based bad block table in OOB area; store it in-band */ 111 + /* 112 + * Do not store flash based bad block table marker in the OOB area; store it 113 + * in-band. 114 + */ 112 115 #define NAND_BBT_NO_OOB 0x00040000 113 116 /* 114 117 * Do not write new bad block markers to OOB; useful, e.g., when ECC covers