diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-02-20 10:42:50 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-02-24 16:51:49 -0500 |
commit | 6b0431dc21050a14bf80db4b3c34444816d7652d (patch) | |
tree | 51eae737d57374c7d36e66f2649ebec4391b7c7c /drivers/net | |
parent | f0bbcdef1b7fdf3e41e942fef56ceb76f7f820ac (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>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions