[coreboot-gerrit] New patch to review for coreboot: smbios: fix copy&paste error

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Tue Jul 7 17:30:51 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10823

-gerrit

commit 0375456ca595616a444f0fd498ea2d2a03240542
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Tue Jul 7 17:29:43 2015 +0200

    smbios: fix copy&paste error
    
    While extending the SMBIOS code to write a proper maximum structure size,
    the call to elog_smbios_write_type15() was botched.
    Fix the name and arguments.
    
    Change-Id: I4c93490b09ddf4da240ff8f2bd8f8cc3f2abd96e
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
 src/arch/x86/boot/smbios.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/arch/x86/boot/smbios.c b/src/arch/x86/boot/smbios.c
index fc5ac66..a1f05da 100644
--- a/src/arch/x86/boot/smbios.c
+++ b/src/arch/x86/boot/smbios.c
@@ -553,7 +553,7 @@ unsigned long smbios_write_tables(unsigned long current)
 	update_max(len, max_struct_size, smbios_write_type4(&current, handle++));
 	update_max(len, max_struct_size, smbios_write_type11(&current, &handle));
 #if CONFIG_ELOG
-	update_max(len, max_struct_size, smbios_write_type15(&current, &handle));
+	update_max(len, max_struct_size, elog_smbios_write_type15(&current, handle++));
 #endif
 	update_max(len, max_struct_size, smbios_write_type17(&current, &handle));
 	update_max(len, max_struct_size, smbios_write_type32(&current, handle++));



More information about the coreboot-gerrit mailing list