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.53]) by mx.groups.io with SMTP id smtpd.web11.7626.1686054793973296551 for ; Tue, 06 Jun 2023 05:33:14 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=VS4IWH6+; 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.53, mailfrom: nicklew@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ff0eGkzfLtr/gOnvNX4fLJLtbTaGNftGW7Lg+F4NOotExQ7FO1euFXWZa2Vaj48So/j9/0pitE5n+AWFqSyCwGLsJPuuqxOojipYLOwHyvivmoxTchHftpZpjUlrF4kXfx7q8c7vyzOaLM1PyjAhAQ8rEF/azmZocE1B9RPfRj7NBpiHaaBET82V5eiRWByraXj4hsRk/1Uus+9ZsagPNnk9vWH5iouLYMhthACzwARBCRDr6PKDCsxYFyPQyd1zMjYYD3qfl/f84fPPLh/PH0LRGGVpN2KTPNuR/HJyAvobwZpqNTmdAd8GFTwL4nynH9vCi+OhgB4q38GAHayHOg== 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=YW2Cc+SaAgWL3T/8LY1dMf4lJU4uFnSEl3CBeONXb34=; b=ZuuDSLRFN24Y/tY0fJ0JJQmBD2Y+WYfRKYGeP9oUq2zSmUsHU+i8TIBcvzLpifN6R0QqO4owBaXwMduqgj5p9emhBud1QZa5wZvTgrvgxmsiRgiTI9o+FHBc+4z5Kzb6BjDlw+avhiHViYcq9WwdhAUvzj+vFr3VtVxQpeFlnCOCy4qa+ynQlRUnDvUQTaaVQ9JyvS28QWADUmc/jqE4oCr3AzBgqGtDfrD8O+VB4t32xeK5KR0onWCmvFAkkwsamNpPgDMqP9xe6TNKp/BeMIuNg81KzIbiFW1nAqEL/GYAuesmOsl0nxiXt+v9GvP0BenqILLjRQxYC39E+6vEVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) 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=YW2Cc+SaAgWL3T/8LY1dMf4lJU4uFnSEl3CBeONXb34=; b=VS4IWH6+cd1SFCKtQE52ZoEg5WoV4k6mL52mSh8tlNNrRwUqSvv2BO2j6JUC0upiZv18Qgb7zJL42JI6m8swl3/t9h1wQoD7KhBAy0ETZGa0xdT8nqqaV7saHL+aqhxPLMAl9GMYaCzx5yyoys7LeHIvg16CAsDJ25ZeUV/byRNXINwpHUv0ePUkV3B/xLEYuDTo1Ee8IysrIYU6WrjRKD+AS4XRUoR324aO209srdILnjmiRhvZqqz+sRIfoZ5LkHc9D9jrt+hTJjlYEQnPs/vcG8AFFoOWXFLpUGojzlGT2HzJAEMZA1/xt0zdq8gvwR0XgTTcrCbIqGhSlzoejA== Received: from BN9PR03CA0610.namprd03.prod.outlook.com (2603:10b6:408:106::15) by IA1PR12MB9029.namprd12.prod.outlook.com (2603:10b6:208:3f0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.32; Tue, 6 Jun 2023 12:33:12 +0000 Received: from BN8NAM11FT115.eop-nam11.prod.protection.outlook.com (2603:10b6:408:106:cafe::74) by BN9PR03CA0610.outlook.office365.com (2603:10b6:408:106::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.28 via Frontend Transport; Tue, 6 Jun 2023 12:33:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) 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.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by BN8NAM11FT115.mail.protection.outlook.com (10.13.177.151) 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:33:11 +0000 Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.5) 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:33:03 -0700 Received: from drhqmail202.nvidia.com (10.126.190.181) 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:33:03 -0700 Received: from NV-CL38DL3.nvidia.com (10.127.8.12) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Tue, 6 Jun 2023 05:33:02 -0700 From: "Nickle Wang" To: CC: Abner Chang , Igor Kulchytskyy Subject: [edk2-redfish-client][PATCH v2 5/9] RedfishClientPkg/RedfishETagDxe: Fix build error Date: Tue, 6 Jun 2023 20:33:01 +0800 Message-ID: <20230606123301.17597-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: BN8NAM11FT115:EE_|IA1PR12MB9029:EE_ X-MS-Office365-Filtering-Correlation-Id: ff902155-e7e6-4baf-58a3-08db668a3132 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +PtnGKcX1qQpvwf875EpEyQtS1QVST5fWdqHmOFaxGBYw3YOAZvbX41EypzF+5OeSHTVSilF47lZLpOQfxN/ByH9BWxPIIi8wwzaVxcFagVT96Lto3/6BWjYbP0Xil7gB2WFwTWW3ciA0/NpiAfDzzliUXAwgCfOXoSeRviv8rWWqFh+a/4CS6zJ4xV81Uo9x2gpsCD6d+5b5mEHA6QPXvceTCPY53gm5igzRqWKJf4lG0wnr528OeHZz6NLK2gVnzfImUkqUeLR+4G1g1IN69OiK5f7Ad+/DRWm/ZwRd69qYNthZu4eL2vyd9vBNCVtQnrRx0ArYmYdJA8Z0GijtigHnM4oG6NKF69zj6PG9ze1Uiy95NGu2rRs8/nIaYF+P3YZ6D9DDN7/sJZzUKyoWuTC6ZueqXDD9b9JrLsxD4A8nfNAM1LstXD7r/KyIK3E55QlLwot2COthOEAq5p1zWv2KFQdq+EZrAdIbSb6Jf/arJWX770jLELN1gevDDPsGwkp52KAOG8XORt1lKGZ44M9FoWTYv5P9Vv4nyrz4t5Ux5F8n5dc6MEwD54At4v437SBtVMYTHPKoKHbQZuDJ9D9TgRgP+4kQW/0/FfRKAiQQrIUeLAotk3/gUnJOffWWUCQVz6oI09kHsX/oWngeaA9evSU0gT6mtj7OHDKDa0efshzTQCtAos2ORSNzGTYbzz+LXVMmKsz/GoWP0FFgK8DZwNrPcYPUKgUXlyFB5dt8Som6ozBtRrvqY37o4XV X-Forefront-Antispam-Report: CIP:216.228.118.232;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge1.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(396003)(376002)(346002)(136003)(39860400002)(451199021)(46966006)(40470700004)(36840700001)(54906003)(478600001)(8936002)(8676002)(5660300002)(36756003)(86362001)(2906002)(82310400005)(6916009)(4326008)(316002)(70586007)(82740400003)(356005)(70206006)(7636003)(40480700001)(40460700003)(41300700001)(83380400001)(47076005)(2616005)(1076003)(26005)(426003)(336012)(186003)(36860700001)(7696005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2023 12:33:11.7929 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ff902155-e7e6-4baf-58a3-08db668a3132 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.232];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT115.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB9029 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain - Fix missing "EFIAPI" build error. - Fix typos. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../Include/Protocol/EdkIIRedfishETagProtocol.h | 2 +- RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/RedfishClientPkg/Include/Protocol/EdkIIRedfishETagProtocol.h b= /RedfishClientPkg/Include/Protocol/EdkIIRedfishETagProtocol.h index 4e10965a..42853860 100644 --- a/RedfishClientPkg/Include/Protocol/EdkIIRedfishETagProtocol.h +++ b/RedfishClientPkg/Include/Protocol/EdkIIRedfishETagProtocol.h @@ -36,7 +36,7 @@ EFI_STATUS =20 @param[in] This Pointer to EDKII_REDFISH_ETAG_PROTOCOL = instance. @param[in] Uri The target Uri which related to ETag. - @param[in] ETag The ETag to add. If ETag is NULL, the r= ecord of correspoonding URI will be removed. + @param[in] ETag The ETag to add. If ETag is NULL, the r= ecord of corresponding URI will be removed. =20 @retval EFI_SUCCESS This handler has been stoped successful= ly. @retval Others Some error happened. diff --git a/RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c b/RedfishClie= ntPkg/RedfishETagDxe/RedfishETagDxe.c index 60b05e8b..7ac6e885 100644 --- a/RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c +++ b/RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c @@ -102,7 +102,7 @@ ON_ERROR: @param[in] Uri The URI string matching to this ETAG. @param[in] ETag ETAG string. =20 - @retval EFI_SUCCESS ETAG recourd is added. + @retval EFI_SUCCESS ETAG record is added. @retval Others Fail to add ETAG. =20 **/ @@ -137,7 +137,7 @@ AddETagRecord ( @param[in] List Target ETAG list to be removed. @param[in] Record Pointer to the instance to be deleted. =20 - @retval EFI_SUCCESS ETAG recourd is removed. + @retval EFI_SUCCESS ETAG record is removed. @retval Others Fail to add ETAG. =20 **/ @@ -357,7 +357,7 @@ SaveETagList ( } =20 // - // Caculate the total size we need to keep ETag list. + // Calculate the total size we need to keep ETag list. // VarSize =3D ETagList->TotalSize + 1; // terminator character VarData =3D AllocateZeroPool (VarSize); @@ -514,6 +514,7 @@ ON_ERROR: =20 **/ EFI_STATUS +EFIAPI RedfishETagGet ( IN EDKII_REDFISH_ETAG_PROTOCOL *This, IN CHAR8 *Uri, @@ -546,13 +547,14 @@ RedfishETagGet ( =20 @param[in] This Pointer to EDKII_REDFISH_ETAG_PROTOCOL = instance. @param[in] Uri The target Uri which related to ETag. - @param[in] ETag The ETag to add. If ETag is NULL, the r= ecord of correspoonding URI will be removed. + @param[in] ETag The ETag to add. If ETag is NULL, the r= ecord of corresponding URI will be removed. =20 @retval EFI_SUCCESS This handler has been stoped successful= ly. @retval Others Some error happened. =20 **/ EFI_STATUS +EFIAPI RedfishETagSet ( IN EDKII_REDFISH_ETAG_PROTOCOL *This, IN CHAR8 *Uri, @@ -579,7 +581,7 @@ RedfishETagSet ( } =20 // - // When ETag is NULL, it means that we want to remov this record. + // When ETag is NULL, it means that we want to remove this record. // if (ETag =3D=3D NULL) { return Status; @@ -598,6 +600,7 @@ RedfishETagSet ( =20 **/ EFI_STATUS +EFIAPI RedfishETagFlush ( IN EDKII_REDFISH_ETAG_PROTOCOL *This ) --=20 2.17.1