Skip to content
Commit 43950a60 authored by Roel Kluin's avatar Roel Kluin Committed by David Woodhouse
Browse files

mtd: nand: max_retries off by one in mxc_nand



with `while (max_retries-- > 0)' max_retries reaches -1 after the loop.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent a755a385
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment