(This is migrated from edk2-platforms:Silicon)
The "ProcessorManufacture" field of SMBIOS_TABLE_TYPE4 was recently
renamed to "ProcessorManufacturer". This is causing a compilation
error for RISC-V/SiFive builds. Switch to the new name.

Cc: Leif Lindholm <l...@nuviainc.com>
Cc: Abner Chang <abner.ch...@hpe.com>
Cc: Daniel Schaefer <daniel.schae...@hpe.com>
Cc: Gilbert Chen <gilbert.c...@hpe.com>
Signed-off-by: Mark Salter <msal...@redhat.com>
Reviewed-by: Abner Chang <abner.ch...@hpe.com>
---
 .../RISC-V/ProcessorPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Silicon/RISC-V/ProcessorPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c 
b/Silicon/RISC-V/ProcessorPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c
index 6079513a55..b30f9d7f6a 100644
--- a/Silicon/RISC-V/ProcessorPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c
+++ b/Silicon/RISC-V/ProcessorPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.c
@@ -142,7 +142,7 @@ BuildSmbiosType4 (
   DEBUG ((DEBUG_VERBOSE, "     Socket StringID: %d\n", 
Type4HobData->SmbiosType4Processor.Socket));
   DEBUG ((DEBUG_VERBOSE, "     Processor Type: 0x%x\n", 
Type4HobData->SmbiosType4Processor.ProcessorType));
   DEBUG ((DEBUG_VERBOSE, "     Processor Family: 0x%x\n", 
Type4HobData->SmbiosType4Processor.ProcessorFamily));
-  DEBUG ((DEBUG_VERBOSE, "     Processor Manufacture StringID: %d\n", 
Type4HobData->SmbiosType4Processor.ProcessorManufacture));
+  DEBUG ((DEBUG_VERBOSE, "     Processor Manufacture StringID: %d\n", 
Type4HobData->SmbiosType4Processor.ProcessorManufacturer));
   DEBUG ((DEBUG_VERBOSE, "     Processor Id: 0x%x:0x%x\n", \
           Type4HobData->SmbiosType4Processor.ProcessorId.Signature, 
Type4HobData->SmbiosType4Processor.ProcessorId.FeatureFlags));
   DEBUG ((DEBUG_VERBOSE, "     Processor Version StringID: %d\n", 
Type4HobData->SmbiosType4Processor.ProcessorVersion));
-- 
2.31.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#85364): https://edk2.groups.io/g/devel/message/85364
Mute This Topic: https://groups.io/mt/88278538/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to