From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 014A9AC0A51 for ; Thu, 6 Jun 2024 03:04:58 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=pLiEWeW3tpUJ08rGP4TvaGzNOUx8+7ia/QSpb1b8mrY=; c=relaxed/simple; d=groups.io; h=Feedback-ID:From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1717643098; v=1; b=LkyZzIYVet+LJs0xBTxcgkSH3X75si6EUrhrBjKID9K3tC8bYBh3OxDz1ucFa5EV6aUgM8fG FNiwrN8wAAWBGBYFWZIHSxxZHaiexk35d2PAP1HlnY+im0xJ7jdGETW+uFzLGRlMUbVyuhaFyKl 6BOTRem4cTcqs9I/srpMlBlgmiM5ig6RXpAckfRRDoFrndAOhrvSVz8/2eSigruHr8jCC3CadMb fqKkkg6X6WxLiQEYbjOBOOPRlPhkvbHxJe6Hpt/nxKIvztqOUDHOqIq8NXwyOPKNOxDo9nocBCT sxu6iLmd1NWJVulIa44nLyT4MhxbEwYuVX8LH40XaAQdw== X-Received: by 127.0.0.2 with SMTP id Gmz4YY7687511xyXJKW1Mi05; Wed, 05 Jun 2024 20:04:57 -0700 X-Received: from fhigh7-smtp.messagingengine.com (fhigh7-smtp.messagingengine.com [103.168.172.158]) by mx.groups.io with SMTP id smtpd.web11.5177.1717643096818298491 for ; Wed, 05 Jun 2024 20:04:56 -0700 X-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 2DCAF114017B; Wed, 5 Jun 2024 23:04:56 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 05 Jun 2024 23:04:56 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeljedgieejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 Jun 2024 23:04:55 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, nhi@os.amperecomputing.com Cc: Rebecca Cran , Chuong Tran , Leif Lindholm Subject: [edk2-devel] [PATCH edk2-platforms 6/6] Silicon/Ampere: Remove bogus ASSERT that *PpiList is non-NULL Date: Wed, 5 Jun 2024 21:04:39 -0600 Message-ID: <20240606030439.46610-7-rebecca@bsdio.com> In-Reply-To: <20240606030439.46610-1-rebecca@bsdio.com> References: <20240606030439.46610-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 05 Jun 2024 20:04:57 -0700 Resent-From: rebecca@bsdio.com Reply-To: devel@edk2.groups.io,rebecca@bsdio.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: VHAyGiroirovRtmImGEzU6gKx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=LkyZzIYV; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On entry into ArmPlatformGetPlatformPpiList, *PpiList _can_ be NULL since it's set within the function. So remove the bogus ASSERT. Signed-off-by: Rebecca Cran --- Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c b/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c index f2ec923d6f8d..a5d15cda63f3 100644 --- a/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c +++ b/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c @@ -155,7 +155,6 @@ ArmPlatformGetPlatformPpiList ( { ASSERT (PpiListSize != NULL); ASSERT (PpiList != NULL); - ASSERT (*PpiList != NULL); if (ArmIsMpCore ()) { *PpiListSize = sizeof (gPlatformPpiTable); -- 2.45.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119501): https://edk2.groups.io/g/devel/message/119501 Mute This Topic: https://groups.io/mt/106517030/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-