diff options
| author | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-01-09 20:18:02 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-27 01:59:27 +0300 |
| commit | 980aa1f8d0dd1291682b588cad7ec8e34d2c462a (patch) | |
| tree | 31cf35092c1f538c431c99e7a62361a7ecf44170 /include/linux | |
| parent | 39b74ec0869f58b843ecb5c5a19b1b87cd995b6f (diff) | |
| download | linux-980aa1f8d0dd1291682b588cad7ec8e34d2c462a.tar.xz | |
mtd: spinand: Fix kernel doc
[ 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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mtd/spinand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/spinand.h b/include/linux/mtd/spinand.h index 927c10d78769..1c741145e497 100644 --- a/include/linux/mtd/spinand.h +++ b/include/linux/mtd/spinand.h @@ -287,7 +287,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 */ |
