commit | 83b42fac85e0d44c89e89fd42fc6c26dbf7fcafa | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Feb 20 10:42:50 2021 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Feb 24 16:51:49 2021 -0500 |
tree | 51eae737d57374c7d36e66f2649ebec4391b7c7c | |
parent | d3f1735e17ec5396bf3cd990c92c6897cee3dfa4 [diff] |
mtd: rawnand: cortina_nand: missing initialization ca_do_bch_correction() takes a random value from the stack and starts counting bitflips from this value. Initialize the counter. This passed unnoticed as the value is finally ignored in the call hierarchy. Fixes: 161df94b3c43 ("mtd: rawnand: cortina_nand: Add Cortina CAxxxx SoC support") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>