From nobody Mon Feb 9 18:43:55 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+70240+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+70240+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1610534036; cv=none; d=zohomail.com; s=zohoarc; b=L2A6logUGnTx4iq+OdsNzFc4mnbzr2QVixpDzE/1suxwiyOCDTEGyX3f5/IK7EDqcdK+n+M9fpX6AfU7Krjfh1xsYtJp/rNRM04I8/sLNChvKdim10b+ki3luZK/FR2fEDT5DHJgQOPGSEp8Qpoqkj0is3G5P1qmylxT7Y8N+Ms= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610534036; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=g7+y6h+LYhVXlP4od7lMVA1lk7z70MYPasB75wpTfec=; b=PjL1M5CaG622zuNeelXbTXYIIizbobL/DCyNf+RAv6UwebwVJCyPiNBy0SaA5rIucb3MBP0KbQdIQBYXpfHH7yhHhreWpYn5O/t+xOC8V7OhxTzSB4SmBqbyG+q9EFMhztrrFN3ynZBvFVD6f2q6svcsQjq9zhZSYAuycDi1vP4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+70240+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1610534036988127.47554454686951; Wed, 13 Jan 2021 02:33:56 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id jCtTYY1788612xlcVlHmtZez; Wed, 13 Jan 2021 02:33:52 -0800 X-Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) by mx.groups.io with SMTP id smtpd.web11.6229.1610534032005045924 for ; Wed, 13 Jan 2021 02:33:52 -0800 X-Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4DG3gH5L48zj5JX; Wed, 13 Jan 2021 18:32:59 +0800 (CST) X-Received: from localhost (10.174.184.155) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.498.0; Wed, 13 Jan 2021 18:33:41 +0800 From: "Jiahui Cen via groups.io" To: CC: Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Rebecca Cran , Peter Grehan , Anthony Perard , Julien Grall , Leif Lindholm , Sami Mujawar , , , Jiahui Cen Subject: [edk2-devel] [PATCH v5 03/10] OvmfPkg/PciHostBridgeLib: List missing PcdLib dependency Date: Wed, 13 Jan 2021 18:33:24 +0800 Message-ID: <20210113103331.10375-4-cenjiahui@huawei.com> In-Reply-To: <20210113103331.10375-1-cenjiahui@huawei.com> References: <20210113103331.10375-1-cenjiahui@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.184.155] X-CFilter-Loop: Reflected Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,cenjiahui@huawei.com X-Gm-Message-State: rwCgV67B5LGRcpoDYiPAr3xSx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1610534032; bh=5EFF5uKeVLKNOfTlGwj5T9rjaEC/THxs3AmE8puGMms=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=KYICuUfQRybE1B3nbIcFslVOzhXtBNxLS31PSaJ/3XJtQR449G4zjgh3/qYmk4tFroV pmQEz6nCvHmmLcQi+XkYhjne5hVmX2MY3UsTrhBB/qwo0OSq36myHwA6YVMUtT8e3M4kR Qge3xDr0jECaJIfH4CXAlwhah20e5pVtVeU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" OvmfPkg/PciHostBridgeLib instance fails to list its PcdLib dependency, both between the #include directives, and in the INF file. So let's list the dependency. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3059 Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Anthony Perard Cc: Julien Grall Signed-off-by: Jiahui Cen --- OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf | 1 + OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c | 1 + OvmfPkg/Library/PciHostBridgeLib/XenSupport.c | 1 + 3 files changed, 3 insertions(+) diff --git a/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf b/OvmfPk= g/Library/PciHostBridgeLib/PciHostBridgeLib.inf index 4c56f3c90b3b..cec3f1631a72 100644 --- a/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf +++ b/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf @@ -39,6 +39,7 @@ [LibraryClasses] DebugLib DevicePathLib MemoryAllocationLib + PcdLib PciHostBridgeUtilityLib PciLib QemuFwCfgLib diff --git a/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c b/OvmfPkg/= Library/PciHostBridgeLib/PciHostBridgeLib.c index 4a176347fd49..bf32455b9f0d 100644 --- a/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c +++ b/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/OvmfPkg/Library/PciHostBridgeLib/XenSupport.c b/OvmfPkg/Librar= y/PciHostBridgeLib/XenSupport.c index e161f14375ca..95ed0a280b9b 100644 --- a/OvmfPkg/Library/PciHostBridgeLib/XenSupport.c +++ b/OvmfPkg/Library/PciHostBridgeLib/XenSupport.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include "PciHostBridge.h" --=20 2.29.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#70240): https://edk2.groups.io/g/devel/message/70240 Mute This Topic: https://groups.io/mt/79647747/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-