From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web11.297.1665438088697652922 for ; Mon, 10 Oct 2022 14:41:28 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=dMr1D6gb; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: isaac.w.oram@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665438088; x=1696974088; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Ig9b4EY3VzjL1p7l6ULcMjm1nUUNVdE1769tyeI61BU=; b=dMr1D6gbevFA4n6fDfWQT1zs+oykxRaXMSm4HdYXjd++jP7F5xqQCsVK MC7Mth0JBprZ5L6DA6hYKxeziYZQBYBBR8CXduX7Hshu9bLvWixE2Q3qh 8TYZrFCCFIgiEPxGh5/0WedlRL3b7KsbMiI4dzu8yWVKWvrPcOAE4Pj0r UZtafnkPPbkQ3JjC8CZW7il1rTXgudecfrX8I6rZSTlOZq7uNmmaQvMta scSb2hXrr05otxR8GIiYetMaBjvj833lbPJh7rUoou1wGA21RpshgK7OA PXzBhMwtmVyL1KXziriP5N/R/Iyju3OPDS89pPZBrw3JFZUvUJggJxTOu w==; X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="390649289" X-IronPort-AV: E=Sophos;i="5.95,173,1661842800"; d="scan'208";a="390649289" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2022 14:41:28 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="657093959" X-IronPort-AV: E=Sophos;i="5.95,173,1661842800"; d="scan'208";a="657093959" Received: from iworam-desk.amr.corp.intel.com ([10.24.80.243]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2022 14:41:27 -0700 From: "Isaac Oram" To: devel@edk2.groups.io Cc: Isaac Oram , Nate DeSimone , Chasel Chiu Subject: [edk2-devel][edk2-platforms][PATCH V1 1/1] WhitleyOpenBoardPkg/AcpiPlatform: Fix table install logic Date: Mon, 10 Oct 2022 14:41:05 -0700 Message-Id: <1b764cb06aeea4b029e2b2c4b3d14fbcf7dbdef3.1665437608.git.isaac.w.oram@intel.com> X-Mailer: git-send-email 2.36.1.windows.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix ACPI table install logic issue introduced by incorrect fix in 4c9b69e590cf81f2b9af9e17243a422798833b0e that prevents some tables from being installed. Cc: Nate DeSimone Cc: Chasel Chiu Signed-off-by: Isaac Oram --- .../Features/Acpi/AcpiPlatform/AcpiPlatform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Intel/WhitleyOpenBoardPkg/Features/Acpi/AcpiPlatform/AcpiPlatform.c b/Platform/Intel/WhitleyOpenBoardPkg/Features/Acpi/AcpiPlatform/AcpiPlatform.c index 28117ad460..a884c9745f 100644 --- a/Platform/Intel/WhitleyOpenBoardPkg/Features/Acpi/AcpiPlatform/AcpiPlatform.c +++ b/Platform/Intel/WhitleyOpenBoardPkg/Features/Acpi/AcpiPlatform/AcpiPlatform.c @@ -475,7 +475,7 @@ AcpiPlatformEarlyAcpiTablesInstall ( // Install the table // AcpiStatus = AcpiTable->InstallAcpiTable (AcpiTable, CurrentTable, CurrentTable->Length, &TableHandle); - if (!EFI_ERROR (AcpiStatus)) { + if (EFI_ERROR (AcpiStatus)) { ASSERT_EFI_ERROR (AcpiStatus); return AcpiStatus; } -- 2.36.1.windows.1