Clean up MISRA C violation

clean up a few MISRA C violations that can be fixed by code change in vboot files

Tracked-On: #861
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
Jason Chen CJ
2019-05-08 20:20:54 +08:00
committed by Eddie Dong
parent d364d352f8
commit 7494ed2775
4 changed files with 23 additions and 18 deletions

View File

@@ -271,7 +271,7 @@ switch_to_guest_mode(EFI_HANDLE image, EFI_PHYSICAL_ADDRESS hv_hpa)
if (addr < 4096)
Print(L"Warning: CPU trampoline code buf occupied zero-page\n");
efi_ctx->ap_trampoline_buf = (void *)addr;
efi_ctx->ap_trampoline_buf = addr;
config_table = sys_table->ConfigurationTable;