From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web10.208.1648654104353408849 for ; Wed, 30 Mar 2022 08:28:24 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=rvxOeut4; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.202.59.224]) by linux.microsoft.com (Postfix) with ESMTPSA id 0D08420DEE4D; Wed, 30 Mar 2022 08:28:22 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 0D08420DEE4D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1648654103; bh=pyKoHmT/0tlcDqgjXw/ysBda9jt9nv/2vEJ1COg+M7o=; h=From:To:Cc:Subject:Date:From; b=rvxOeut42+3hITG5ohj3UAwTaBXIeJ9l4+JVMbEV7BjrVhSX6FHHrHDJvkzb6SwU8 hQVQUfHCod6QLYh0ibAGzaRnbbxUgxHbh6wVDx9IgENTB3gqJzKcOX4nKSA7TN4qaG lp7FkZvOGd6X68WTekogHshLPNoG0n3Lmz5U3GpU= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-platforms][PATCH v1 0/2] MinPlatformPkg: Check MemoryTypeInfo Fixes Date: Wed, 30 Mar 2022 11:28:01 -0400 Message-Id: <20220330152803.1919-1-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki This patch series addresses two issues in TestPointCheckLib/DxeCheckMemoryTypeInformation.c: 1. The MemoryTypeInformation HOB is modified when the HOB data is being dumped. Test point code should not modify HOB data contents in DXE and this can impact subsequent HOB consumers. 2. A variable is set and never used. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Michael Kubacki Michael Kubacki (2): MinPlatformPkg/TestPointCheckLib: Prevent MemTypeInfo HOB modification MinPlatformPkg/TestPointCheckLib: Remove unused variable Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckMem= oryTypeInformation.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) --=20 2.28.0.windows.1