X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPkg%2FUniversal%2FSmbios%2FSmbiosMiscDxe%2FType32%2FMiscBootInformationFunction.c;h=fdf6262aa7f5944b0160b8b2abd2a814de1f5c49;hp=c4ce6a5e76084c37f99589ae3fbf47b3725d7c94;hb=429309e0c6b74792d679681a8edd0d5ae0ff850c;hpb=7c2a6033c149625482a18cd51b65513c8fb8fe15 diff --git a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type32/MiscBootInformationFunction.c b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type32/MiscBootInformationFunction.c index c4ce6a5e76..fdf6262aa7 100644 --- a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type32/MiscBootInformationFunction.c +++ b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type32/MiscBootInformationFunction.c @@ -33,11 +33,10 @@ @retval EFI_OUT_OF_RESOURCES Failed to allocate required memory. **/ -SMBIOS_MISC_TABLE_FUNCTION(MiscBootInformation) -{ - EFI_STATUS Status; - SMBIOS_TABLE_TYPE32 *SmbiosRecord; - SMBIOS_TABLE_TYPE32 *InputData; +SMBIOS_MISC_TABLE_FUNCTION (MiscBootInformation) { + EFI_STATUS Status; + SMBIOS_TABLE_TYPE32 *SmbiosRecord; + SMBIOS_TABLE_TYPE32 *InputData; // // First check for invalid parameters. @@ -65,10 +64,15 @@ SMBIOS_MISC_TABLE_FUNCTION(MiscBootInformation) // // Now we have got the full smbios record, call smbios protocol to add this record. // - Status = SmbiosMiscAddRecord ((UINT8*)SmbiosRecord, NULL); + Status = SmbiosMiscAddRecord ((UINT8 *)SmbiosRecord, NULL); if (EFI_ERROR (Status)) { - DEBUG ((DEBUG_ERROR, "[%a]:[%dL] Smbios Type32 Table Log Failed! %r \n", - __FUNCTION__, DEBUG_LINE_NUMBER, Status)); + DEBUG (( + DEBUG_ERROR, + "[%a]:[%dL] Smbios Type32 Table Log Failed! %r \n", + __FUNCTION__, + DEBUG_LINE_NUMBER, + Status + )); } FreePool (SmbiosRecord);