Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: nand: correct documentation for NAND_ECC_HW8_512

The documentation for this parameter said "6 bytes" when "8 bytes" was
intended; correct it.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Marcel Ziswiler and committed by
Jonathan Corbet
203b400e 9e7c758e

+2 -2
+2 -2
Documentation/driver-api/mtdnand.rst
··· 374 374 375 375 - NAND_ECC_HW8_512 376 376 377 - Hardware ECC generator providing 6 bytes ECC per 512 byte. 377 + Hardware ECC generator providing 8 bytes ECC per 512 byte. 378 378 379 379 If your hardware generator has a different functionality add it at the 380 380 appropriate place in nand_base.c ··· 889 889 #define NAND_ECC_HW3_512 3 890 890 /* Hardware ECC 6 byte ECC per 512 Byte data */ 891 891 #define NAND_ECC_HW6_512 4 892 - /* Hardware ECC 6 byte ECC per 512 Byte data */ 892 + /* Hardware ECC 8 byte ECC per 512 Byte data */ 893 893 #define NAND_ECC_HW8_512 6 894 894 895 895