From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by mx.groups.io with SMTP id smtpd.web08.10345.1607058697160857250 for ; Thu, 03 Dec 2020 21:11:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=f10H05k4; spf=pass (domain: nuviainc.com, ip: 209.85.215.193, mailfrom: rebecca@nuviainc.com) Received: by mail-pg1-f193.google.com with SMTP id m9so2825616pgb.4 for ; Thu, 03 Dec 2020 21:11:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zSK+RFE/Gix0QEYUT2NgEbNIRfwYx+QXIHJ0FpKoi74=; b=f10H05k4zHwvVA/C63E2MwvYB2NB+K8sVy0t4xQTqTWeh9T0h7Sj9b7RGu6ZKOLeeR Oahz7CqedNNazb6uk1FfLI5EHJfpPLgJnC3BQHgDsQ5eH1/rsAAUt3MMBg3ZuJsQdFIh 9uaX+nSR5m04L914R9m1vo2HH7C55HwPU5g/eFYu4+AXnKpvm6RIjleiaE05RGL28eEA PqW3R1IcqdgZtZJfTaca+vD0BfydG8fcDgmIo7M+dlcPOc1hUIK+2E7ujlaCnWQK6N1l +C01IKvlsN1bET8dvtoGAo7TxEar6pzo1XPaF32Hm+h2eJQ+7p96vKP1lskuG0L99GJV B5Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zSK+RFE/Gix0QEYUT2NgEbNIRfwYx+QXIHJ0FpKoi74=; b=FAm8TXGUbDZVxpkeIu8L8zno2Wmdwb2D+MnXBAjxnCQBYFWwONFs1m1Umu3tkUHRTb UYSH2oIUj/LtYh31o33eF2Fa4IFtPxxWSk6p/mZDe7N3XpBHPEnDznl68mlFkLDH1Z8Z +oFQL1FnAIFw5tq9Q15w1vOEyhCdulpumQMe4S65zcqbXwyLMk4FRMPVSjXm7czq30YG VMr4x0MoPYeDh6WGyKkVP3YFbCB8XiJR98/+TdP3DmHnSmuCtMSNXeFP0dYVM2i//E3u P9LdboqD7Omp88Sot772eSDDvYaWmUuK4Ga7CQPrguYfFebLUiEwK66vpozAFATLKz9j 5soQ== X-Gm-Message-State: AOAM532ig9spbe5wVnQQ8pcsME2whXBBHF7H227irmc3QmYSitk7GJ9a veQF1eYZKXV/hBiJuxBqQBYoATULhDJe8BaNlpPx61G9rXaHSqrQrFNwTjEh53Wj/VUac3q6MzA o83oE7GFG8lEgP0W1OvApezAZN3QwQsi2NLDrxp9w+NRl/Q47VOIR32b6QVDB9Kh5Q3mTlNj3 X-Google-Smtp-Source: ABdhPJyovxO+KIIOoMQu59NnL7VvHyVsw9nntXKYIYi6tliW03YwkhSuVO6BpMpuR9ZX0m+kH5Zamg== X-Received: by 2002:a63:df14:: with SMTP id u20mr6070020pgg.77.1607058696287; Thu, 03 Dec 2020 21:11:36 -0800 (PST) Return-Path: Received: from cube.nuviainc.com (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id q12sm3430921pfc.84.2020.12.03.21.11.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2020 21:11:35 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , Michael D Kinney , Liming Gao , Zhiguang Liu , Ray Ni Subject: [PATCH v2 2/3] MdePkg,ShellPkg: Fix typo in SMBIOS_TABLE_TYPE4 field ProcessorManufacturer Date: Thu, 3 Dec 2020 22:11:26 -0700 Message-Id: <20201204051127.27588-3-rebecca@nuviainc.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201204051127.27588-1-rebecca@nuviainc.com> References: <20201204051127.27588-1-rebecca@nuviainc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In SmBios.h, the SMBIOS_TABLE_TYPE4 field "ProcessorManufacture" should be "ProcessorManufacturer". Also, update SmbiosView PrintInfo.c to use the new field name. Signed-off-by: Rebecca Cran --- MdePkg/Include/IndustryStandard/SmBios.h | 2 +- ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index 400bdef90b4f..ac2498482a92 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -894,7 +894,7 @@ typedef struct { SMBIOS_TABLE_STRING Socket; UINT8 ProcessorType; ///< The enumeration value from PROCESSOR_TYPE_DATA. UINT8 ProcessorFamily; ///< The enumeration value from PROCESSOR_FAMILY_DATA. - SMBIOS_TABLE_STRING ProcessorManufacture; + SMBIOS_TABLE_STRING ProcessorManufacturer; PROCESSOR_ID_DATA ProcessorId; SMBIOS_TABLE_STRING ProcessorVersion; PROCESSOR_VOLTAGE Voltage; diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index 478811f0fd40..3d12b25bf91c 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -427,7 +427,7 @@ SmbiosPrintStructure ( } else { DisplayProcessorFamily (Struct->Type4->ProcessorFamily, Option); } - PRINT_PENDING_STRING (Struct, Type4, ProcessorManufacture); + PRINT_PENDING_STRING (Struct, Type4, ProcessorManufacturer); PRINT_BIT_FIELD (Struct, Type4, ProcessorId, 8); PRINT_PENDING_STRING (Struct, Type4, ProcessorVersion); DisplayProcessorVoltage (*(UINT8 *) &(Struct->Type4->Voltage), Option); -- 2.26.2