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.59]) by mx.groups.io with SMTP id smtpd.web11.8187.1685972936563045206 for ; Mon, 05 Jun 2023 06:48:56 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=BCsZj8+B; 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.59, mailfrom: nicklew@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i8xig5dJxbUNhEeC71BJ8h30MPSTbHtFSqOghJNN1PCTilTaDjx0pbCe4gD/90YOOkHYZGlNzFOLdnhjcWDjcTRPytGPymsQHnDvJKJS6XsSbkqNM5UqEMfzwOMrVz22BfdaUwAzbpsgZCWHTuiOSoIlHf+Bm7xebph0VvhUfZG25UF+8sh0ColcdeT4GuIEdvSamlvgNsfkH8m1JugKsW+xpqClUiNp5DciseDaYaWrvIMSITyK4pk2CcxwsvsNpeb/CAy+8GnJzAer/Q9+jM4bnUbmZQKQAPjVses+sDOdOGOYJM61aHU8J8zEM6MuIgK8dp2d4U0r0y+7QJEzLw== 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=idu/kA4A0ZMeAKG6XxInEQxR/rytAR/he5gXlKRNaTc=; b=XLgbL5iCtA4lFLMjjkImxtbOcE4mkcczeP2E4885d3Ue1p/4KxfBqvJyVYdEf9TeRghy4168PTLqTuxrTyBXo/YWmuQFKoi+HYU0s4ruLb1zNJH8HQtGog89UIcU5Oowp3I3TGAVABpVCvxUM9ud0GDPPvDm+zngPwhnX7g77KPAmQLDT8WYgnnaexysgURbfZcAkqmWM9zprYrW4WiervKm2VEfT1yCLDAiOSZ5JgSGbndsU8xyvdIBQ7pbs3b0AELwvLK3UkUHeb2l8vGMTZqXCtpsyY2YdG7/cKS8tljKUZIaLFoziX6TY9tVdkAgtm1YkWJBZvbTJx+ZH80E7g== 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=idu/kA4A0ZMeAKG6XxInEQxR/rytAR/he5gXlKRNaTc=; b=BCsZj8+BJAjnZSKewwoCsB3KjntHkpIVz2QHMx037AnsD+bm0KF2tm3u4va0sN3WYUODUxk7UqZgFPEdlPtzxthjUVaei1P5OcHijS9twG15NazafkTPPDS5bwpQ1ZACzDAHnzhvjdjwiD0ml4QNndErt86JzrH1QvMEmCXoTAM1/zBgOq+llcGEbZRje7lk6BcCCiNgEJzQ+WpzVH4YAT6SbWVv14I7/YdL+/avMUGPwQRiwbMEpJnkyWmn/gjNwhj0vHMLwVQDY918UBYJR8Ex1sXnVEyP5M/rJk8ch+IOSOL0I2IRwiC69v6/DPUh0IdFmVAHv+uVmc1uydRqaQ== Received: from BN9PR03CA0039.namprd03.prod.outlook.com (2603:10b6:408:fb::14) by BY5PR12MB4275.namprd12.prod.outlook.com (2603:10b6:a03:20a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Mon, 5 Jun 2023 13:48:54 +0000 Received: from BL02EPF000145BB.namprd05.prod.outlook.com (2603:10b6:408:fb:cafe::89) by BN9PR03CA0039.outlook.office365.com (2603:10b6:408:fb::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33 via Frontend Transport; Mon, 5 Jun 2023 13:48:53 +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 BL02EPF000145BB.mail.protection.outlook.com (10.167.241.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.13 via Frontend Transport; Mon, 5 Jun 2023 13:48:53 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) 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; Mon, 5 Jun 2023 06:48:49 -0700 Received: from drhqmail202.nvidia.com (10.126.190.181) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Mon, 5 Jun 2023 06:48:49 -0700 Received: from NV-CL38DL3.nvidia.com (10.127.8.13) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Mon, 5 Jun 2023 06:48:48 -0700 From: "Nickle Wang" To: CC: Abner Chang , Igor Kulchytskyy Subject: [edk2-redfish-client][PATCH 0/9] Fix RedfishClientPkg build errors Date: Mon, 5 Jun 2023 21:48:47 +0800 Message-ID: <20230605134847.25056-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: BL02EPF000145BB:EE_|BY5PR12MB4275:EE_ X-MS-Office365-Filtering-Correlation-Id: bd120ade-6ec5-42c2-5a0c-08db65cb99d4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oWlnmAsrjtXtOpXhv11dNhbqE2sgp5dkx5X3WWOUI+ZMisqlBFoHkyO9axhAtca1jCgAz+u7Y5oLzeh6VWwu8xhRhWIWD3hLu3Ymqeia2zRafAJvhhn7rVccZCheEun1UzXdX//pJdM+AZpL2YeT+mGR0c89iTO7XwIqwTY6Hw2LkH1mW2/s7euV38ecpzeeSI8D/Ud/QCzwtux0RQiI5biXh3rDZ6IrEAZZFRv2YFOOwJQlngLGOaJQVmUUfwfftR55XVDdjSd6UeN7+sF22Y2UvdagstAA/TckhVcXoXzZoHniLIIXDQ9KPxDftCKpWNHa41t9r3TTy9W5dhL+UmXlfuVSE7Rb0ufvAKufEiCEkCvJXpx2l/AN0FDQ/HDYz87pF5jAV0rBECbXqka31XYWC4An4zs29ptjLRa67lcYp9SUYd86MJqMVwFlewvvYLm33CWPdXlg2VtrpXF2OvSBPKpkcAxRmRQpP7LA8BaXfm2ZSuhJFk56RMcvpB55EymjLHajNTbsPt+BzCzk79yfRhOMEol4JBltld5F8YeKrOi5iV3byXBoc/8KSiPn5tmVm+nYWJ3NYhLrzqbyHUgoxYxQ3u4i/7NbaEx9Sxo6qYF2mJYTRxlQceKFt9I/DHlUx8sWVZuA6WRHDpwUiOg9UY4VjDBtx1qMWNb1cO+/A5X+ckgfV4JvurJAQcdV6Cno6zbW8onL7runyRM5WdI8E9FzCjfDOZaetBxrF34= 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)(396003)(39850400004)(376002)(346002)(136003)(451199021)(40470700004)(36840700001)(46966006)(47076005)(83380400001)(336012)(426003)(82740400003)(54906003)(19627235002)(40480700001)(478600001)(8676002)(8936002)(41300700001)(316002)(70586007)(70206006)(356005)(7636003)(5660300002)(6916009)(4326008)(86362001)(40460700003)(36756003)(7696005)(2906002)(82310400005)(36860700001)(186003)(1076003)(26005)(2616005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2023 13:48:53.4935 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bd120ade-6ec5-42c2-5a0c-08db65cb99d4 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: BL02EPF000145BB.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4275 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Fix RedfishClientPkg build errors and typos. The compiler toolchain 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 .../Protocol/EdkIIRedfishETagProtocol.h | 2 +- .../src/Bios/Bios.V1_0_9/Bios.V1_0_9.c | 7 +- .../ComputerSystem.V1_5_0.c | 298 ++++++++---------- .../ComputerSystemCollection.c | 22 +- .../src/Memory/Memory.V1_7_1/Memory.V1_7_1.c | 207 ++++++------ .../MemoryCollection/MemoryCollection.c | 22 +- .../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, 326 insertions(+), 364 deletions(-) --=20 2.17.1