From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web12.10210.1607058698332190344 for ; Thu, 03 Dec 2020 21:11:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=kCtM7yLO; spf=pass (domain: nuviainc.com, ip: 209.85.210.180, mailfrom: rebecca@nuviainc.com) Received: by mail-pf1-f180.google.com with SMTP id 131so2884114pfb.9 for ; Thu, 03 Dec 2020 21:11:38 -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=fYymvGI6hIw5lXb+YSpklTtwgqqIMr9Mn9upZPN6mWw=; b=kCtM7yLOUm89vOvxdka8hanFsgJjFpPX5OuOMyVFfKNNWrCxjVq4Z6/eTKNQfAx+KK ODbYgtumYj3rdzDBBbrTuMTU8MsGtNZQBtxeL6Nn7Eq09XiM4uk7Lk2tKCveK37gx/qJ drXih/fksaN/OTL0sxhVNUQFPWCZYpQ8/J7m/MEwJHIyZct2KmiSqMINVuAuEw9332gd upSQbh+ZY/d52oXvYbuo90Ij8yXrlpIX8Ct1Kfm/Nw/vD87y/2UyMAZereiUIFdgSnoK f4E2+oozEDfa7kKa/8Y62mOaRVQaUWhWcOGNm47w0cZLxAxdcWQCsFP1xBCxIkHdYhp/ 6/nw== 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=fYymvGI6hIw5lXb+YSpklTtwgqqIMr9Mn9upZPN6mWw=; b=BiAYG6iP6vLkj2mepwtxHx7zFmsbUdpKTbg3L1dq/5xkfeN4NyfLoC7h80AP4xbtWZ ktC7J3grfojJ/EEMS3Ux6omzYI28wj7mks6kssWpBOx2pj8K0jnGlFZUd/nksxSAIjYF Sp9kczOeahmwCKYhZLipHDbwdVzzamuZIFwftdZCESDCQJj4rQv0flEASuCHk6NpcfMh sWRWQCMUbxsfhO7MwZ44oVd+hBOmJQonPrRWEfR5aHU5ZI03XtZjU5SzdZ3uvfKyHiBc BXQprD+nMnNTPRJHFq6TePpTDa+WPkBmXJSavXNtJwFws+Es/qKgf20s8xkoX9x9JC7Z ioQg== X-Gm-Message-State: AOAM532aKs83klSJnD8jeJMmIW/pyatuVW09dhmeb67CFgmNEY4CS5S6 odVf2XOgDJsYvXzeQ6VhxJx9Olr7zUVOc+yxVtIelje28VG+RursX/DNiD8Eh3okFRUlz1O62R6 rOfUkgB6lAontLeG2p8LcHRPyGkW8MLOdD3SlekbTyrh5w4CuuFMcafnrSxRl/RzSDKTg1swP X-Google-Smtp-Source: ABdhPJxBHwm68YKXLELk48/puB9WPIhvVfRE9rUc+RaZrhSIshxdInUTSR2lp3M6INfv45Sbe4JqnA== X-Received: by 2002:a65:6154:: with SMTP id o20mr5931183pgv.419.1607058697569; Thu, 03 Dec 2020 21:11:37 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2020 21:11:37 -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 3/3] MdePkg,ShellPkg: Fix typo in SMBIOS_TABLE_TYPE17 field FirmwareVersion Date: Thu, 3 Dec 2020 22:11:27 -0700 Message-Id: <20201204051127.27588-4-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 "FirmwareVersion" was misspelled "FirwareVersion". 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 ac2498482a92..3bc8732eef99 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -1837,7 +1837,7 @@ typedef struct { // UINT8 MemoryTechnology; ///< The enumeration value from MEMORY_DEVICE_TECHNOLOGY MEMORY_DEVICE_OPERATING_MODE_CAPABILITY MemoryOperatingModeCapability; - SMBIOS_TABLE_STRING FirwareVersion; + SMBIOS_TABLE_STRING FirmwareVersion; UINT16 ModuleManufacturerID; UINT16 ModuleProductID; UINT16 MemorySubsystemControllerManufacturerID; diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c index 3d12b25bf91c..be8ae13c17d1 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c @@ -776,7 +776,7 @@ SmbiosPrintStructure ( if (Struct->Hdr->Length > 0x28) { DisplayMemoryDeviceMemoryTechnology (Struct->Type17->MemoryTechnology, Option); DisplayMemoryDeviceMemoryOperatingModeCapability (Struct->Type17->MemoryOperatingModeCapability.Uint16, Option); - PRINT_PENDING_STRING (Struct, Type17, FirwareVersion); + PRINT_PENDING_STRING (Struct, Type17, FirmwareVersion); PRINT_STRUCT_VALUE_H (Struct, Type17, ModuleManufacturerID); PRINT_STRUCT_VALUE_H (Struct, Type17, ModuleProductID); PRINT_STRUCT_VALUE_H (Struct, Type17, MemorySubsystemControllerManufacturerID); -- 2.26.2