[coreboot-gerrit] Patch set updated for coreboot: nvramcui: remove undeclared variable

Antonello Dettori (dev@dettori.io) gerrit at coreboot.org
Mon Aug 29 14:31:11 CEST 2016


Antonello Dettori (dev at dettori.io) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16333

-gerrit

commit 468c4a44d708e596f3dd38d4b5fb194454eefb35
Author: Antonello Dettori <dev at dettori.io>
Date:   Thu Aug 18 10:32:27 2016 +0200

    nvramcui: remove undeclared variable
    
    Remove an undeclared variable that was accidentally left over,
    nvramcui is currently unable to compile and operate because of this.
    
    Regression introduced in: https://review.coreboot.org/#/c/16248/
    
    Change-Id: Ieaba615838d7593546ab5696baf1b8f9828da345
    Signed-off-by: Antonello Dettori <dev at dettori.io>
---
 payloads/nvramcui/nvramcui.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/payloads/nvramcui/nvramcui.c b/payloads/nvramcui/nvramcui.c
index 991303e..84e5536 100644
--- a/payloads/nvramcui/nvramcui.c
+++ b/payloads/nvramcui/nvramcui.c
@@ -179,8 +179,8 @@ int main(void)
 
 	struct cb_cmos_option_table *opttbl = get_system_option_table();
 
-	if (opttbl == NULL && cmos_default == NULL) {
-		printf("Could not find coreboot option table/cmos.default.\n");
+	if (opttbl == NULL) {
+		printf("Could not find coreboot option table.\n");
 		halt();
 	}
 



More information about the coreboot-gerrit mailing list