From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.57]) by mx.groups.io with SMTP id smtpd.web11.7612.1686054756048408146 for ; Tue, 06 Jun 2023 05:32:36 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=EWYzZGG1; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.243.57, mailfrom: nicklew@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AY9OUZFPNxy2qC6K489b6351r5OwLQoyUqtpxTF8NKQldqUE8IUCnOCwhVhlypv4C2JCDX59FeoG43pXSeNuqVLU3A4F/0Y7L6hE/0zid6uf74hCydLS9Ce0wBz7xfZh53UvlAovKCSN/7Crq5xN8qQzoBfpD7uWFzOGO0zro9zdHWxhfj5cZ43tcmJrLHJdzzjZWol1YbQ1EEM4S1z9WybD4qZqmgJQTeApLISIRRtFtlAbYQJo9BofLaDszUaY1Ldy5ZyX0Q86jpg4rZtUffifVPc0pcae0VtJgZ6bAAeR1UevvjqSfkQ1IdBqCLwC3O543VminsmfA0MH81o75g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sG6XnhyfT6oURZ1Q4wYZgVIkv3Uky+kg3PIE2ZVi3A4=; b=A9BotOJ0NJG51WSltYQddkLvWETiHAlW18H6ZqSA53JFml10sIhOeGTUAFPDmmWicoacBhcO02ZDRUPyU3mE4qZKtKqhkSPMmUYESamS4qutzGVaDg0MMSC8UAd+m6FGhtDIQcLwBydeG9gOPC8F4ypnWKzPE8cFdAezNIEPN0V4YznJ3KvhD66C4mXd+Fd64/PD7rHOmErTeuiq8zURK8S4TbrVcRRn+nmIqgMrv86n9yIpKfN62Ia1LaJl4/HGqDoE48zt/y482qkYNunQsr8JpEFFsOtpFU8F1iDJ6ezd6WcDqR4GmydtglUgdBB9fVnRlTTRkeG+5qjuS86eGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sG6XnhyfT6oURZ1Q4wYZgVIkv3Uky+kg3PIE2ZVi3A4=; b=EWYzZGG1s/Bvyhadhkibm5ERIGDAe6yAWRV9uC5szDYN6MPedf0Q2esF5FFM+YvUZHY7RIMZbJFLA4mdnpsJSWVlvEpbhbvSBOwgePe2N5zM9wMeVwtBZH64yltoEofCPpYrojphmlsx/abjsn3273ACWM/5Z0cDqwPUJhgHdY1Mo4vzaouX8FjvGX2csHHfwJO+8zeTq8vlRu7ecARJQCWOKnz1SZo18/gerA5PFw5j7xho72/Rx6T+Rwy9DSeHr8gIM+TSvCHtQitFi/7zM3pBONXrtPLAWnZJ66S72fDO3k7mAQD/d5cqrKgQPhXwgD62eakZgqBSmd6mRHmiLA== Received: from MW4PR03CA0210.namprd03.prod.outlook.com (2603:10b6:303:b8::35) by MW4PR12MB5666.namprd12.prod.outlook.com (2603:10b6:303:188::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Tue, 6 Jun 2023 12:32:32 +0000 Received: from CO1NAM11FT100.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b8:cafe::4c) by MW4PR03CA0210.outlook.office365.com (2603:10b6:303:b8::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33 via Frontend Transport; Tue, 6 Jun 2023 12:32:32 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by CO1NAM11FT100.mail.protection.outlook.com (10.13.175.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.36 via Frontend Transport; Tue, 6 Jun 2023 12:32:32 +0000 Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Tue, 6 Jun 2023 05:32:21 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail201.nvidia.com (10.126.190.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Tue, 6 Jun 2023 05:32:21 -0700 Received: from NV-CL38DL3.nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Tue, 6 Jun 2023 05:32:20 -0700 From: "Nickle Wang" To: CC: Abner Chang , Igor Kulchytskyy Subject: [edk2-redfish-client][PATCH v2 0/9] Fix RedfishClientPkg build errors Date: Tue, 6 Jun 2023 20:32:19 +0800 Message-ID: <20230606123219.17063-1-nicklew@nvidia.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Return-Path: nicklew@nvidia.com X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT100:EE_|MW4PR12MB5666:EE_ X-MS-Office365-Filtering-Correlation-Id: 54594508-b409-4ba1-5007-08db668a199c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zNG9GIyyA25D3bo7IwWOLtVSbL4oMd1dJactLct7yvDf+nXArUhXrqc1hoOQmHBYlqgGeDp1xr2sy5CtnBBQI/fMgHbzLhmgx6W56/1WiVEWyiQTIWXpjTsY4uXuG3taTNHl7FQbdqdqkuNdNN2UUamuwrAg+wEcK8tR9eu0BSG7LvOg2KHqgLJkRjbdME+KENgsm3hjZJ3T1DLK3jHVcVWwg+LVvvG3nLgIVbTUJQB7sJy/D+UL5RBduIqocgXeeF6PZ4c2+i83uY2SkEQZh6GZDlS30VKd42lUVaf91NMjiHJjRMzoDWCHFA+It2V0SEavzXZgsWHu4rguL8qfPXky2AnHUl23SrvbwqpXVg/f3uvkolrF01hAK9VQRaD0q3Z9XbUoJSra60tdKZvxKnZ4rLDizZBtZwleyywiPYwLIYqScMi/eC8ttKoEQR72a2VuUKEsdJ2iEy77TFI9KIR2raq4S88wrJrsXSFNfRdEdBl21uNgOfWgVayqnJAmz3mA/ETjdrfLEgK7aflG6CkpHAU6rfy2lS9NcNqubugtEp2dUVZkdO93hnZPOHH+l4yXNTNfSFnNApeaP+YK5jDgfwsOtymeAOSuWR4JIAVMZGwSzXnk5vz6bllte2H5JsmhwBIUH29fcSbo5VvFl9k6ctItBxVgOE3yX/iOOxaTKtYh5dmxQFAWuNx48KMOnl59WzCbtCYJTYO5iROLT/0FVOLz4001W+KvJAlYUTo5Xgk28IY/jKw6GL0dOAeM X-Forefront-Antispam-Report: CIP:216.228.118.233;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge2.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(136003)(376002)(39860400002)(396003)(346002)(451199021)(46966006)(36840700001)(40470700004)(1076003)(26005)(186003)(336012)(426003)(2616005)(83380400001)(47076005)(36860700001)(82310400005)(7636003)(70206006)(356005)(2906002)(70586007)(19627235002)(82740400003)(7696005)(40460700003)(8676002)(5660300002)(8936002)(36756003)(54906003)(86362001)(478600001)(41300700001)(40480700001)(316002)(4326008)(6916009);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2023 12:32:32.3314 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 54594508-b409-4ba1-5007-08db668a199c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT100.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB5666 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain V2:=20 Instead of modifying ConverterLib, use build option in INF file to=20 fix build error=20 V1: Fix RedfishClientPkg build errors and typos. The compiler toolchain=20 is GCC5. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Nickle Wang (9): RedfishClientPkg/ConverterLib: Fix unused-but-set-variable error RedfishClientPkg/RedfishAddendumLib: Fix build error RedfishClientPkg/EdkIIRedfishResourceConfigLib: Fix build error RedfishClientPkg/RedfishFeatureUtilityLib: Fix build error RedfishClientPkg/RedfishETagDxe: Fix build error RedfishClientPkg/RedfishConfigLangMapDxe: Fix build error RedfishClientPkg/BiosDxe: Fix build error RedfishClientPkg/MemoryDxe: Fix build error RedfishClientPkg/ComputerSystemDxe: Fix build error .../edk2library/Bios/v1_0_9/Lib.inf | 4 +- .../edk2library/ComputerSystem/v1_5_0/Lib.inf | 4 +- .../ComputerSystemCollection/Lib.inf | 4 +- .../edk2library/Memory/v1_7_1/Lib.inf | 4 +- .../edk2library/MemoryCollection/Lib.inf | 4 +- .../Protocol/EdkIIRedfishETagProtocol.h | 2 +- .../Features/Bios/v1_0_9/Dxe/BiosDxe.c | 20 ++++---- .../v1_5_0/Dxe/ComputerSystemDxe.c | 19 ++++--- .../Features/Memory/V1_7_1/Dxe/MemoryDxe.c | 19 ++++--- .../EdkIIRedfishResourceConfigLib.c | 4 +- .../RedfishAddendumLib/RedfishAddendumLib.c | 4 +- .../RedfishFeatureUtilityLib.c | 50 +++++++++---------- .../RedfishConfigLangMapDxe.c | 3 ++ .../RedfishETagDxe/RedfishETagDxe.c | 13 +++-- 14 files changed, 84 insertions(+), 70 deletions(-) --=20 2.17.1