]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg,ShellPkg: Fix typo in SMBIOS_TABLE_TYPE17 field FirmwareVersion
authorRebecca Cran <rebecca@nuviainc.com>
Fri, 4 Dec 2020 05:11:27 +0000 (13:11 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 10 Dec 2020 02:24:10 +0000 (02:24 +0000)
"FirmwareVersion" was misspelled "FirwareVersion".
Also, update SmbiosView PrintInfo.c to use the new field name.

Signed-off-by: Rebecca Cran <rebecca@nuviainc.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdePkg/Include/IndustryStandard/SmBios.h
ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c

index ac2498482a92a49b74cbb67bd03c30ce25b8e189..3bc8732eef995b6d5d8f8277bfc236be707833a2 100644 (file)
@@ -1837,7 +1837,7 @@ typedef struct {
   //\r
   UINT8                                     MemoryTechnology;   ///< The enumeration value from MEMORY_DEVICE_TECHNOLOGY\r
   MEMORY_DEVICE_OPERATING_MODE_CAPABILITY   MemoryOperatingModeCapability;\r
-  SMBIOS_TABLE_STRING                       FirwareVersion;\r
+  SMBIOS_TABLE_STRING                       FirmwareVersion;\r
   UINT16                                    ModuleManufacturerID;\r
   UINT16                                    ModuleProductID;\r
   UINT16                                    MemorySubsystemControllerManufacturerID;\r
index 3d12b25bf91c6f0b1946dc5cdb8850140dddfa38..be8ae13c17d1e9b4943e8a8ba195350a601201ba 100644 (file)
@@ -776,7 +776,7 @@ SmbiosPrintStructure (
       if (Struct->Hdr->Length > 0x28) {\r
         DisplayMemoryDeviceMemoryTechnology (Struct->Type17->MemoryTechnology, Option);\r
         DisplayMemoryDeviceMemoryOperatingModeCapability (Struct->Type17->MemoryOperatingModeCapability.Uint16, Option);\r
-        PRINT_PENDING_STRING (Struct, Type17, FirwareVersion);\r
+        PRINT_PENDING_STRING (Struct, Type17, FirmwareVersion);\r
         PRINT_STRUCT_VALUE_H (Struct, Type17, ModuleManufacturerID);\r
         PRINT_STRUCT_VALUE_H (Struct, Type17, ModuleProductID);\r
         PRINT_STRUCT_VALUE_H (Struct, Type17, MemorySubsystemControllerManufacturerID);\r