| From b9ba5d12d3cc42888adc1fc867971a14164a6e54 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Fri, 9 Jan 2026 18:18:02 +0100 |
| Subject: mtd: spinand: Fix kernel doc |
| |
| From: Miquel Raynal <miquel.raynal@bootlin.com> |
| |
| [ Upstream commit a57b1f07d2d35843a7ada30c8cf9a215c0931868 ] |
| |
| The @data buffer is 5 bytes, not 4, it has been extended for the need of |
| devices with an extra ID bytes. |
| |
| Fixes: 34a956739d29 ("mtd: spinand: Add support for 5-byte IDs") |
| Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> |
| Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| include/linux/mtd/spinand.h | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/include/linux/mtd/spinand.h b/include/linux/mtd/spinand.h |
| index 702e5fb13dae7..4bf33cefbae5f 100644 |
| --- a/include/linux/mtd/spinand.h |
| +++ b/include/linux/mtd/spinand.h |
| @@ -195,7 +195,7 @@ struct spinand_device; |
| |
| /** |
| * struct spinand_id - SPI NAND id structure |
| - * @data: buffer containing the id bytes. Currently 4 bytes large, but can |
| + * @data: buffer containing the id bytes. Currently 5 bytes large, but can |
| * be extended if required |
| * @len: ID length |
| */ |
| -- |
| 2.51.0 |
| |