From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.76]) by mx.groups.io with SMTP id smtpd.web11.8221.1685973004447589623 for ; Mon, 05 Jun 2023 06:50:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=CHlsrhKe; 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.237.76, mailfrom: nicklew@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RRFoof8psBzgCsyXjHYkORbV/aULURcaXca19MGJfbLXMLAelp0+XM7T6SDj2mc4AlOeMkDVffit6xP2LL6eEufuqEAr5TypIA0fmA+nO33yETPEp/D/Rg2P8EcZ6eteJC77n9sFRf1MaDPf8cTUok6wvO5oHaIjxElvtT3GxK1DeKSIyw/AT5Ic079xDtXXWRbJorvIgGPJdqVcIGxpKvSGuYkMlM6GzmrM+tCHU//4OnQqfUX47oEmOfhhz2zuz1U/A6/6cuIN6hQMBnGmu6jZg4eB6IbHNMLS7YGhfonLzhHsVZaojvlAFaPir52xS0OpQ5CN+p5KYdghCV9tIQ== 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=koM7n1ZULI/DhuCcwmnSFFFdQgSpyNzNasFzCR2PEfM=; b=inAlJcepAsUBJbT43kvXnTIbDXVkJ4XmA4bcs68QU7pSqhwO0vbtpP+MXHDik6Ocg9MiWqiJIZUr4c63sxSObL3ky6OmnS3aRXeYS/KiFvp8cUF9L5AdBiik3X1Croum/mLDZvYdmYewRlINX+Ne9yNzxt0QBL0PI/2tSSwSPGq7UK0hY4u36msogPfbuti52UIZKdIlFyNEg/3293ZB/vVBkYBVGaodJGUacm0TQfAe5e4L62ToGI2OYovtXFJTUN7IN09jab3xR2NQxp+Brx91ZUJzvKCaSP8DUpOPzOQr/f6/1DMLb5YIdBFXSj6+It/Byr1i6xzDXOECOXMx6w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=koM7n1ZULI/DhuCcwmnSFFFdQgSpyNzNasFzCR2PEfM=; b=CHlsrhKeEiPwyNUUM1d7POmOB6hHPW8H9B9wzc17eM+pK61DmjkVdMt42734VoTndIOLFOklm9ToCp0z51tmNflvGLwB4g32ifxqYnNqMRXE91kGq+mFVIzAIjTcZTr3rlfuWennlRcbstxoPKGWL9F0y2c69t5Jg21ajwr192ggqoU6vuGMoz1n6s81VCG6jy28vcjWNSjn8ZdZvRh4UfW2bet5OYoXxvPt7BaxVYv8Bab8lWuO9Vhapga4GZKDEIQAi3E4mZ4ntV1q71wgnrft104zoAWLSXQ6xZ5BHZs0J/NM3H7PlHvm3HUtfUw8CrWDpIA0yEW87S8QypLWlw== Received: from MWH0EPF00056D1A.namprd21.prod.outlook.com (2603:10b6:30f:fff2:0:1:0:17) by PH0PR12MB7010.namprd12.prod.outlook.com (2603:10b6:510:21c::11) 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:49:59 +0000 Received: from CO1NAM11FT080.eop-nam11.prod.protection.outlook.com (2a01:111:f400:7eab::207) by MWH0EPF00056D1A.outlook.office365.com (2603:1036:d20::b) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.10 via Frontend Transport; Mon, 5 Jun 2023 13:49:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CO1NAM11FT080.mail.protection.outlook.com (10.13.174.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.23 via Frontend Transport; Mon, 5 Jun 2023 13:49:59 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.66) 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:49:49 -0700 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail203.nvidia.com (10.129.68.9) 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:49:49 -0700 Received: from NV-CL38DL3.nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Mon, 5 Jun 2023 06:49:48 -0700 From: "Nickle Wang" To: CC: Abner Chang , Igor Kulchytskyy Subject: [edk2-redfish-client][PATCH 2/9] RedfishClientPkg/RedfishAddendumLib: Fix build error Date: Mon, 5 Jun 2023 21:49:48 +0800 Message-ID: <20230605134948.25320-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: CO1NAM11FT080:EE_|PH0PR12MB7010:EE_ X-MS-Office365-Filtering-Correlation-Id: ceb9703a-aedd-4e05-5e63-08db65cbc121 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Fl0vTrTU5vHbsC7aCxTMI9hh2t0vnWqHhc32ADdWFj7lYByjfMDydUwKRKRAP73V4t2jSu6NCI5EHwehJbILlpDvZUjWMo7wjPzpXWk1ejcGqBlVncBVYTITMHqF6Kc5+oM/SaVOOApH50S/oaKbYsvme3+YIR1q0st3WkBdsxoRBMbOCFdcdGc6SDvMQVREcr/68GcQLfecgNSIGA/uXp5WZ/V55I1t7z8r8kr3Gk4qbnxB9A8uBDT5nUaFcGuRf46TPvZKJeowLXxEmImiAKvZzi4MQeDb+Wpq/E7h1gyXM7s0UlCP+PWPWxQnH+CYVHGPf3iuZ/R8oNvldnhn1emXND8cuKfgg7l/CDd2Sv45XVdY5BkqQj7dOMiugxQV2plrrJ+XY/OK+zp9l6ddao18FxrgflnR+mDH5vqVYxmCNySocLTomi0e81LELdykeRlBPZrfazzWNs+WvCfhj2/z8j70+foIFgClo/wOUiuI1Sct3lg4hlhDfUxB+c+9TPZjjDd+957mu3UeQIE4bsNZsFgGqkzvnfAliwSwd6vlOj1TF8B8I2SuKPGEYGm+JSfETQsJaTuRcgTSbf6hic5VZXgeRYqd8l5KNaxy2Yl37K/Gbk2dxP4fEpDjtyogLLMKhEWVx9d1ySQ9jLes/62NGIc2jLVPHXhlpmCRNG/3kdGx4hh8sXnvc1rJVNqv0GhO49hrcW2IqYtLNaqkPG1L7UPmAIn3xOxYFPHj4us= X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(136003)(346002)(376002)(396003)(451199021)(46966006)(40470700004)(36840700001)(40460700003)(83380400001)(47076005)(336012)(426003)(2906002)(2616005)(36756003)(86362001)(82310400005)(7636003)(356005)(82740400003)(36860700001)(40480700001)(7696005)(316002)(41300700001)(5660300002)(8676002)(8936002)(54906003)(478600001)(6916009)(4326008)(70206006)(70586007)(26005)(1076003)(186003);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2023 13:49:59.4919 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ceb9703a-aedd-4e05-5e63-08db65cbc121 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT080.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7010 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain Rename ProvisioningCallback() to GetData() and OemCallback() to GetOemData() and fix build error Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../Library/RedfishAddendumLib/RedfishAddendumLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RedfishClientPkg/Library/RedfishAddendumLib/RedfishAddendumLib= .c b/RedfishClientPkg/Library/RedfishAddendumLib/RedfishAddendumLib.c index 5eaada1e..59cf2743 100644 --- a/RedfishClientPkg/Library/RedfishAddendumLib/RedfishAddendumLib.c +++ b/RedfishClientPkg/Library/RedfishAddendumLib/RedfishAddendumLib.c @@ -129,7 +129,7 @@ RedfishGetAddendumData ( continue; } =20 - Status =3D Protocol->ProvisioningCallback (Protocol, &SchemaInfo, Json= Value); + Status =3D Protocol->GetData (Protocol, &SchemaInfo, JsonValue); if (!EFI_ERROR (Status)) { *JsonWithAddendum =3D JsonDumpString (JsonValue, EDKII_JSON_COMPACT)= ; break; @@ -232,7 +232,7 @@ RedfishGetOemData ( continue; } =20 - Status =3D Protocol->OemCallback (Protocol, &SchemaInfo, JsonValueOem)= ; + Status =3D Protocol->GetOemData (Protocol, &SchemaInfo, JsonValueOem); if (!EFI_ERROR (Status)) { Status =3D JsonObjectSetValue (JsonValue, "Oem", JsonValueOem); if (!EFI_ERROR (Status)) { --=20 2.17.1