From 6c34c331c08c1b6c44aa7842e5cd29a0596c7bb5 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 6 Feb 2022 01:16:08 +0100 Subject: [PATCH] And another fix. --- src/mem/spd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/spd.c b/src/mem/spd.c index b8fa23dcf..7c033fe8c 100644 --- a/src/mem/spd.c +++ b/src/mem/spd.c @@ -405,7 +405,7 @@ void spd_write_drbs_with_ext(uint8_t *regs, uint8_t reg_min, uint8_t reg_max, uint8_t drb_unit) { uint8_t row, dimm, drb; - uint16_t size, row_val = rows[SPD_MAX_SLOTS]; + uint16_t size, row_val, rows[SPD_MAX_SLOTS]; int shift; /* No SPD: split SIMMs into pairs as if they were "DIMM"s. */