[coreboot-gerrit] Patch merged into coreboot/master: arch/x86/smbios: fix length calculation for SMBIOS type 17

gerrit at coreboot.org gerrit at coreboot.org
Fri Mar 11 16:53:50 CET 2016


the following patch was just integrated into master:
commit 3677520fd9162d7447308ff5580313cca9e64a19
Author: Iru Cai <mytbk920423 at gmail.com>
Date:   Wed Mar 9 23:22:58 2016 +0800

    arch/x86/smbios: fix length calculation for SMBIOS type 17
    
    Different DIMM modules give different SMBIOS type 17 lengths, so we
    can't use `meminfo->dimm_cnt*len' for entry struct size, otherwise
    it'll give a wrong SMBIOS size when two or more different DIMMs are
    installed on the machine.
    
    Change-Id: I0e33853f6aa4b30da547eb433839a397d451a8cf
    Signed-off-by: Iru Cai <mytbk920423 at gmail.com>
    Reviewed-on: https://review.coreboot.org/14008
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Tested-by: build bot (Jenkins)


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

-gerrit



More information about the coreboot-gerrit mailing list