• B
    UBI: initialize LEB number variable · f16db807
    Brian Norris 提交于
    In some of the 'out_not_moved' error paths, lnum may be used
    uninitialized. Don't ignore the warning; let's fix it.
    
    This uninitialized variable doesn't have much visible effect in the end,
    since we just schedule the PEB for erasure, and its LEB number doesn't
    really matter (it just gets printed in debug messages). But let's get it
    straight anyway.
    
    Coverity CID #113449
    
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
    Signed-off-by: NRichard Weinberger <richard@nod.at>
    f16db807
wl.c 55.9 KB