[coreboot-gerrit] Patch set updated for coreboot: 7bfaef1 acpigen: Correctly handle root scope
Vladimir Serbinenko (phcoder@gmail.com)
gerrit at coreboot.org
Mon Sep 1 04:44:37 CEST 2014
Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6799
-gerrit
commit 7bfaef1a1a0da7cbd42634e1ad133b798d7b8e0c
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date: Sat Aug 30 20:44:37 2014 +0200
acpigen: Correctly handle root scope
Change-Id: I9b3c9109b01e348259e64e93a4397212216ab152
Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
src/arch/x86/boot/acpigen.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/arch/x86/boot/acpigen.c b/src/arch/x86/boot/acpigen.c
index ba3d2df..fadbb31 100644
--- a/src/arch/x86/boot/acpigen.c
+++ b/src/arch/x86/boot/acpigen.c
@@ -223,7 +223,10 @@ int acpigen_emit_namestring(const char *namepath) {
namepath++;
}
- ASSERT(namepath[0] != '\0');
+ if(namepath[0] == '\0') {
+ len += acpigen_emit_byte('\0');
+ return len;
+ }
i = 0;
while (namepath[i] != '\0') {
More information about the coreboot-gerrit
mailing list