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@coreboot.org> Reviewed-on: https://review.coreboot.org/14621 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) Reviewed-by: Leroy P Leahy <leroy.p.leahy@intel.com>
This commit is contained in:
parent
4c3f5dc03c
commit
f7dd6d5da1
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue