[coreboot] Patch set updated for coreboot: 83efb96 Supermicro H8QGI: fix bus_sp5100[] clear in get_bus_conf.c

Aladyshev Konstantin (kostr@list.ru) gerrit at coreboot.org
Wed Dec 19 18:41:32 CET 2012


Aladyshev Konstantin (kostr at list.ru) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2046

-gerrit

commit 83efb96d819120c35b45f78e891c72035be20f60
Author: Aladyshev Konstantin <aladyshev at nicevt.ru>
Date:   Tue Dec 18 23:01:14 2012 +0400

    Supermicro H8QGI: fix bus_sp5100[] clear in get_bus_conf.c
    
    Fix little mistake in get_bus_conf code
    
    Change-Id: I8c09e501082caa0a20266b007c0744630a356de0
    Signed-off-by: Aladyshev Konstantin <aladyshev at nicevt.ru>
---
 src/mainboard/supermicro/h8qgi/get_bus_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mainboard/supermicro/h8qgi/get_bus_conf.c b/src/mainboard/supermicro/h8qgi/get_bus_conf.c
index 8c31cbf..71a540f 100644
--- a/src/mainboard/supermicro/h8qgi/get_bus_conf.c
+++ b/src/mainboard/supermicro/h8qgi/get_bus_conf.c
@@ -79,7 +79,7 @@ void get_bus_conf(void)
 
 	sbdn_sp5100 = 0;
 
-	for (i = 0; i < 0; i++) {
+	for (i = 0; i < ARRAY_SIZE(bus_sp5100); i++) {
 		bus_sp5100[i] = 0;
 	}
 	for (i = 0; i < ARRAY_SIZE(bus_sr5650); i++) {



More information about the coreboot mailing list