[coreboot-gerrit] Patch merged into coreboot/master: amd/mct/ddr3: Avoid using uninitialized register address in ECC setup

gerrit at coreboot.org gerrit at coreboot.org
Wed Jan 11 17:12:07 CET 2017


the following patch was just integrated into master:
commit 590a3e1f6ccce873bb8f2129dc3680cab12e5a42
Author: Timothy Pearson <tpearson at raptorengineering.com>
Date:   Mon Jan 9 17:54:35 2017 -0600

    amd/mct/ddr3: Avoid using uninitialized register address in ECC setup
    
    Logic inside mct_EnableDimmEccEn_D uses an unintialized variable as
    a register address under certain conditions.  Refactor mct_EnableDimmEccEn_D
    to use the explicit address of the register in all cases.
    
    Found-by: Coverity Scan #1347337
    Change-Id: I6bc50d0524ea255aa97c7071ec4813f6a3e9c2b8
    Signed-off-by: Timothy Pearson <tpearson at raptorengineering.com>
    Reviewed-on: https://review.coreboot.org/18079
    Tested-by: build bot (Jenkins)
    Tested-by: Raptor Engineering Automated Test Stand <noreply at raptorengineeringinc.com>
    Reviewed-by: Nico Huber <nico.h at gmx.de>


See https://review.coreboot.org/18079 for details.

-gerrit



More information about the coreboot-gerrit mailing list