* [PATCH] mtd: nand: Fix a kdoc comment
@ 2025-03-05 19:49 Miquel Raynal
2025-03-06 9:10 ` Tudor Ambarus
2025-03-18 16:17 ` Miquel Raynal
0 siblings, 2 replies; 4+ messages in thread
From: Miquel Raynal @ 2025-03-05 19:49 UTC (permalink / raw)
To: Richard Weinberger, Vignesh Raghavendra, Tudor Ambarus,
Pratyush Yadav, Michael Walle, linux-mtd
Cc: Thomas Petazzoni, Miquel Raynal, stable
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@vger.kernel.org
Signed-off-by: Miquel Raynal <miquel.raynal@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
--
2.48.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] mtd: nand: Fix a kdoc comment
2025-03-05 19:49 [PATCH] mtd: nand: Fix a kdoc comment Miquel Raynal
@ 2025-03-06 9:10 ` Tudor Ambarus
2025-03-18 16:17 ` Miquel Raynal
1 sibling, 0 replies; 4+ messages in thread
From: Tudor Ambarus @ 2025-03-06 9:10 UTC (permalink / raw)
To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra,
Pratyush Yadav, Michael Walle, linux-mtd
Cc: Thomas Petazzoni, stable
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@vger.kernel.org
no trivial fixes for stable please.
replace Cc to stable with:
Cc: <stable+noautosel@kernel.org> # fix kdoc comment
With that:
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
> Signed-off-by: Miquel Raynal <miquel.raynal@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mtd: nand: Fix a kdoc comment
2025-03-05 19:49 [PATCH] mtd: nand: Fix a kdoc comment Miquel Raynal
2025-03-06 9:10 ` Tudor Ambarus
@ 2025-03-18 16:17 ` Miquel Raynal
2025-03-18 16:23 ` Miquel Raynal
1 sibling, 1 reply; 4+ messages in thread
From: Miquel Raynal @ 2025-03-18 16:17 UTC (permalink / raw)
To: Richard Weinberger, Vignesh Raghavendra, Tudor Ambarus,
Pratyush Yadav, Michael Walle, linux-mtd, Miquel Raynal
Cc: Thomas Petazzoni, stable
On Wed, 05 Mar 2025 20:49:55 +0100, 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.
>
>
Applied to nand/next after fixing the Cc stable line as advised by
Turod, thanks!
[1/1] mtd: nand: Fix a kdoc comment
commit: ca8cbbb2be8f906d9602a6e4324f8adf279e9cc2
Kind regards,
Miquèl
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mtd: nand: Fix a kdoc comment
2025-03-18 16:17 ` Miquel Raynal
@ 2025-03-18 16:23 ` Miquel Raynal
0 siblings, 0 replies; 4+ messages in thread
From: Miquel Raynal @ 2025-03-18 16:23 UTC (permalink / raw)
To: Richard Weinberger
Cc: Vignesh Raghavendra, Tudor Ambarus, Pratyush Yadav, Michael Walle,
linux-mtd, Thomas Petazzoni, stable
On 18/03/2025 at 17:17:09 +01, Miquel Raynal <miquel.raynal@bootlin.com> wrote:
> On Wed, 05 Mar 2025 20:49:55 +0100, 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.
>>
>>
>
> Applied to nand/next after fixing the Cc stable line as advised by
> Turod, thanks!
Tudor*, sorry for the typo (:
>
> [1/1] mtd: nand: Fix a kdoc comment
> commit: ca8cbbb2be8f906d9602a6e4324f8adf279e9cc2
>
> Kind regards,
> Miquèl
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-03-18 16:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 19:49 [PATCH] mtd: nand: Fix a kdoc comment Miquel Raynal
2025-03-06 9:10 ` Tudor Ambarus
2025-03-18 16:17 ` Miquel Raynal
2025-03-18 16:23 ` Miquel Raynal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox