summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2015-04-27 09:46:52 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-04-28 04:49:13 +0000
commite2e14ae8274ef85041bf3b25a87a465380fe2ced (patch)
tree32f6dea1d3d8867ad685ff5d26bff6c2899f0d17
parenta0185aecc9e7eec34969aa5c59f4af70d05f8071 (diff)
downloadvboot-e2e14ae8274ef85041bf3b25a87a465380fe2ced.tar.gz
vboot: Fix indentation in LoadKernel()
BUG=None BRANCH=none TEST=compile Change-Id: I286ccb2649ee0535d3fb092b4d445488f6385a65 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/267462 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--firmware/lib/vboot_kernel.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/firmware/lib/vboot_kernel.c b/firmware/lib/vboot_kernel.c
index 09ea3c77..86cf6ef4 100644
--- a/firmware/lib/vboot_kernel.c
+++ b/firmware/lib/vboot_kernel.c
@@ -86,7 +86,7 @@ VbError_t LoadKernel(LoadKernelParams *params, VbCommonParams *cparams)
* times, so we need to initialize the call entry each time.
*/
shcall = shared->lk_calls + (shared->lk_call_count
- & (VBSD_MAX_KERNEL_CALLS - 1));
+ & (VBSD_MAX_KERNEL_CALLS - 1));
Memset(shcall, 0, sizeof(VbSharedDataKernelCall));
shcall->boot_flags = (uint32_t)params->boot_flags;
shcall->boot_mode = boot_mode;
@@ -138,9 +138,9 @@ VbError_t LoadKernel(LoadKernelParams *params, VbCommonParams *cparams)
if (!kbuf)
goto bad_gpt;
- /* Loop over candidate kernel partitions */
- while (GPT_SUCCESS ==
- GptNextKernelEntry(&gpt, &part_start, &part_size)) {
+ /* Loop over candidate kernel partitions */
+ while (GPT_SUCCESS ==
+ GptNextKernelEntry(&gpt, &part_start, &part_size)) {
VbSharedDataKernelPart *shpart = NULL;
VbKeyBlockHeader *key_block;
VbKernelPreambleHeader *preamble;
@@ -160,7 +160,7 @@ VbError_t LoadKernel(LoadKernelParams *params, VbCommonParams *cparams)
* time.
*/
shpart = shcall->parts + (shcall->kernel_parts_found
- & (VBSD_MAX_KERNEL_PARTS - 1));
+ & (VBSD_MAX_KERNEL_PARTS - 1));
Memset(shpart, 0, sizeof(VbSharedDataKernelPart));
shpart->sector_start = part_start;
shpart->sector_count = part_size;
@@ -319,7 +319,7 @@ VbError_t LoadKernel(LoadKernelParams *params, VbCommonParams *cparams)
else {
VBDEBUG(("Key block valid: %d\n", key_block_valid));
VBDEBUG(("Combined version: %u\n",
- (unsigned) combined_version));
+ (unsigned) combined_version));
}
/*
@@ -469,7 +469,7 @@ VbError_t LoadKernel(LoadKernelParams *params, VbCommonParams *cparams)
/* Continue, so that we skip the error handling code below */
continue;
- bad_kernel:
+bad_kernel:
/* Handle errors parsing this kernel */
if (NULL != stream)
VbExStreamClose(stream);
@@ -480,9 +480,9 @@ VbError_t LoadKernel(LoadKernelParams *params, VbCommonParams *cparams)
GptUpdateKernelEntry(&gpt, GPT_UPDATE_ENTRY_BAD);
- } /* while(GptNextKernelEntry) */
+ } /* while(GptNextKernelEntry) */
- bad_gpt:
+bad_gpt:
/* Free kernel buffer */
if (kbuf)
@@ -518,7 +518,7 @@ VbError_t LoadKernel(LoadKernelParams *params, VbCommonParams *cparams)
retval = VBERROR_NO_KERNEL_FOUND;
}
- LoadKernelExit:
+LoadKernelExit:
/* Store recovery request, if any */
VbNvSet(vnc, VBNV_RECOVERY_REQUEST, VBERROR_SUCCESS != retval ?