[coreboot-gerrit] New patch to review for coreboot: lib/reg_script: Fix braces
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Thu May 5 03:04:36 CEST 2016
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14621
-gerrit
commit cb38491eae5cadcf6af515c01baed0ec3894d958
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date: Wed May 4 17:52:56 2016 -0700
lib/reg_script: Fix braces
In If0d4d61ed8ef48ec20082b327f358fd1987e3fb9 the code
was changed from one to two lines in the body of an if()
statement, without adding braces.
Change-Id: Ibbbdf240157adae95151fb2ce0135948caa60108
Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
src/lib/reg_script.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib/reg_script.c b/src/lib/reg_script.c
index ace9325..16efa36 100644
--- a/src/lib/reg_script.c
+++ b/src/lib/reg_script.c
@@ -478,9 +478,10 @@ static uint64_t reg_script_read(struct reg_script_context *ctx)
/* Read from the platform specific bus */
bus = find_bus(step);
- if (NULL != bus)
+ if (NULL != bus) {
value = bus->reg_script_read(ctx);
break;
+ }
}
printk(BIOS_ERR,
"Unsupported read type (0x%x) for this device!\n",
More information about the coreboot-gerrit
mailing list