[PATCH] mtd: nand: Fix a kdoc comment
Tudor Ambarus
tudor.ambarus at linaro.org
Thu Mar 6 01:10:53 PST 2025
On 3/5/25 7:49 PM, Miquel Raynal wrote:
> 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: 377e517b5fa5 ("mtd: nand: Add max_bad_eraseblocks_per_lun info to memorg")
> Cc: stable at vger.kernel.org
no trivial fixes for stable please.
replace Cc to stable with:
Cc: <stable+noautosel at kernel.org> # fix kdoc comment
With that:
Reviewed-by: Tudor Ambarus <tudor.ambarus at linaro.org>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---
> include/linux/mtd/nand.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
> index 0e2f228e8b4a..07486168d104 100644
> --- a/include/linux/mtd/nand.h
> +++ b/include/linux/mtd/nand.h
> @@ -21,7 +21,7 @@ struct nand_device;
> * @oobsize: OOB area size
> * @pages_per_eraseblock: number of pages per eraseblock
> * @eraseblocks_per_lun: number of eraseblocks per LUN (Logical Unit Number)
> - * @max_bad_eraseblocks_per_lun: maximum number of eraseblocks per LUN
> + * @max_bad_eraseblocks_per_lun: maximum number of bad eraseblocks per LUN
> * @planes_per_lun: number of planes per LUN
> * @luns_per_target: number of LUN per target (target is a synonym for die)
> * @ntargets: total number of targets exposed by the NAND device
More information about the linux-mtd
mailing list