[PATCH 1/1] mtd: rawnand: cortina_nand: missing initialization

Tom Rini trini at konsulko.com
Thu Feb 25 14:31:15 CET 2021


On Sat, Feb 20, 2021 at 10:42:50AM +0100, Heinrich Schuchardt wrote:

> 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 at gmx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210225/b0384db3/attachment.sig>


More information about the U-Boot mailing list