From c94e8cf2e178c99290c6cd15a144874a3078bede Mon Sep 17 00:00:00 2001 From: Aladyshev Konstantin Date: Tue, 18 Dec 2012 23:01:14 +0400 Subject: [PATCH] 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 Reviewed-on: http://review.coreboot.org/2046 Tested-by: build bot (Jenkins) Reviewed-by: Siyuan Wang Reviewed-by: Zheng Bao Reviewed-by: Marc Jones --- 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 8c31cbf5e5..71a540fabf 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++) {