Skip to content

Commit ca8cbbb

Browse files
committed
mtd: nand: Fix a kdoc comment
The max_bad_eraseblocks_per_lun member of nand_device obviously describes a number of *maximum* number of bad eraseblocks per LUN. Fix this obvious typo. Fixes: 377e517 ("mtd: nand: Add max_bad_eraseblocks_per_lun info to memorg") Cc: <[email protected]> # fix kdoc comment Reviewed-by: Tudor Ambarus <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
1 parent b28f47a commit ca8cbbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/mtd/nand.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct nand_device;
2121
* @oobsize: OOB area size
2222
* @pages_per_eraseblock: number of pages per eraseblock
2323
* @eraseblocks_per_lun: number of eraseblocks per LUN (Logical Unit Number)
24-
* @max_bad_eraseblocks_per_lun: maximum number of eraseblocks per LUN
24+
* @max_bad_eraseblocks_per_lun: maximum number of bad eraseblocks per LUN
2525
* @planes_per_lun: number of planes per LUN
2626
* @luns_per_target: number of LUN per target (target is a synonym for die)
2727
* @ntargets: total number of targets exposed by the NAND device

0 commit comments

Comments
 (0)