[edk2-devel] [edk2-platforms][Patch] Vlv2TbltDevicePkg/SmBiosMiscDxe: Update SMBIOS Type 4 field name

Sun, Zailiang zailiang.sun at intel.com
Fri Apr 9 02:40:50 UTC 2021


Reviewed-by: Zailiang Sun <zailiang.sun at intel.com>

-----Original Message-----
From: Kinney, Michael D <michael.d.kinney at intel.com> 
Sent: Tuesday, April 6, 2021 1:31 PM
To: devel at edk2.groups.io
Cc: Sun, Zailiang <zailiang.sun at intel.com>; Qian, Yi <yi.qian at intel.com>
Subject: [edk2-platforms][Patch] Vlv2TbltDevicePkg/SmBiosMiscDxe: Update SMBIOS Type 4 field name

Update SMBIOS TYpe 4 field name from ProcessorManufacture to
ProcessorManufacturer to match latest SMBIOS include file
definitions in MdePkg.

Cc: Zailiang Sun <zailiang.sun at intel.com>
Cc: Yi Qian <yi.qian at intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney at intel.com>
---
 .../SmBiosMiscDxe/MiscProcessorInformationFunction.c         | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscProcessorInformationFunction.c b/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscProcessorInformationFunction.c
index 3360bdc541..815c17d8ff 100644
--- a/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscProcessorInformationFunction.c
+++ b/Platform/Intel/Vlv2TbltDevicePkg/SmBiosMiscDxe/MiscProcessorInformationFunction.c
@@ -1,6 +1,6 @@
 /*++
 
-Copyright (c) 2006  - 2020, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006  - 2021, Intel Corporation. All rights reserved.<BR>
 
   SPDX-License-Identifier: BSD-2-Clause-Patent
 
@@ -319,7 +319,7 @@ MISC_SMBIOS_TABLE_FUNCTION (MiscProcessorInformation)
     SmbiosRecord->Hdr.Handle = 0;
 
     SmbiosRecord-> Socket= 1;
-    SmbiosRecord -> ProcessorManufacture = 2;
+    SmbiosRecord -> ProcessorManufacturer = 2;
     SmbiosRecord -> ProcessorVersion = 3;
     SmbiosRecord ->SerialNumber =4;
 
@@ -455,4 +455,3 @@ MISC_SMBIOS_TABLE_FUNCTION (MiscProcessorInformation)
     return Status;
 
 }
-
-- 
2.31.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#73894): https://edk2.groups.io/g/devel/message/73894
Mute This Topic: https://groups.io/mt/81883405/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list