• R
    Fix index regression in nand_read_subpage · 4a4163ca
    Ron 提交于
    Commit 7351d3a5 added an index variable
    as part of fixing checkpatch warnings, presumably as a tool to make some
    long lines shorter, however it only set that index in the case of there
    being no gaps in eccpos for the fragment being read.  Which means the
    later step of filling ecccode from oob_poi will use the wrong indexing
    into eccpos in that case.
    
    This patch restores the behaviour that existed prior to that change.
    Signed-off-by: NRon Lee <ron@debian.org>
    Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
    4a4163ca
nand_base.c 107.7 KB