mtd: fix nand kernel-doc warnings
Subsystems (2)
PATCH 1/1 mtd: fix nand kernel-doc warnings
From: Randy Dunlap <[email protected]>
Warning(include/linux/mtd/nand.h:543): No description found for parameter 'badblockbits' Warning(drivers/mtd/nand/nand_bbt.c:1101): No description found for parameter 'mtd'
Signed-off-by Randy Dunlap <[email protected]>
Cc David Woodhouse <[email protected]>
--- drivers/mtd/nand/nand_bbt.c | 3 ++- include/linux/mtd/nand.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-)
include/linux/mtd/nand.h +2 -0
@@ -448,6 +448,8 @@ struct nand_buffers {* See the defines for further explanation. * @badblockpos: [INTERN] position of the bad block marker in the oob * area. +* @badblockbits: [INTERN] number of bits to left-shift the bad block +* number * @cellinfo: [INTERN] MLC/multichip data from chip ident * @numchips: [INTERN] number of physical chips * @chipsize: [INTERN] the size of one chip for multichip arrays
drivers/mtd/nand/nand_bbt.c +2 -1
@@ -1092,7 +1092,8 @@ static void mark_bbt_region(struct mtd_i/** * verify_bbt_descr - verify the bad block description -* @bd: the table to verify +* @mtd: MTD device structure +* @bd: the table to verify * * This functions performs a few sanity checks on the bad block description * table.
Artem Bityutskiy
AppliedQuoted 5 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Warning(include/linux/mtd/nand.h:543): No description found for parameter 'badblockbits'
Warning(drivers/mtd/nand/nand_bbt.c:1101): No description found for parameter 'mtd'
Quoted 7 lines
Signed-off-by Randy Dunlap <[email protected]>Cc David Woodhouse <[email protected]>--- drivers/mtd/nand/nand_bbt.c | 3 ++- include/linux/mtd/nand.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-)
Pushed to l2-mtd-2.6.git, thanks!
Signature · 2 lines
Best Regards, Artem Bityutskiy (Артём Битюцкий)