]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: Give more information about the ECC weakness
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 21 Apr 2020 16:39:06 +0000 (18:39 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 11 May 2020 07:51:39 +0000 (09:51 +0200)
commit508c9ef070d171e6daf757ad9a3e60c26ad1309e
tree6bbadf1805de5974d39631f9ed314d4f352bbdd0
parent8eb8f28e1a6037b40ee565b5cbf5eee78b5076d3
mtd: rawnand: Give more information about the ECC weakness

When the ECC strength is too weak compared to the NAND chip
requirements, display the values so that it is clear for people how
much they are far from the requirements (and might get in troubles in
the future).

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200421163906.7515-1-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nand_base.c