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.68]) by mx.groups.io with SMTP id smtpd.web11.13084.1685536741100818347 for ; Wed, 31 May 2023 05:39:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nvidia.com header.s=selector2 header.b=Y8aO6C+x; 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.68, mailfrom: nicklew@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YVloQrwvbFg6s73V65sYsXI0gl4b8gifQQ774DBtuEwrRt2Hbl21Gg8/93erjjg12DY0ipwhCFg0DrBK1kCJ0lxh/6PP1alXQUa1Uq8KRgtn7YyOm1PQrz6aGrl81fG22K8aHQz18FqjhY0htEiuOgG4gxHZJCCOtq1O2GOBI2pqD8KARa3ILT1Dg3IMNUGg13l6mFLV0thlPAXTKTyfDyuOYAZAJW7cTTkyGiba+NVH2lHndCnKlAJeDUA1HvWyuvh3HC08vRRdVCipQmm1eYRtLFn9RgFrX77UvMcTj627KFx5Cc2083h4gFpS8TM80ktD6u+7nICsFZVU3ex2CA== 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=9jPZw3fjgw1PnH9iOGPVOOTdnWBQkL148rq5LP9hFcY=; b=hVnnKj+03nQQPIQrgqOTUURA5fVmajqNP7+xQHQX1G16tRZN0tAehN7NY7zQfDmxK6vAYNotBJWBhHP8MeAVz2mROKkjzlrDJvZGD4GM7SkeTCGuzWTG4saCFiSFYvywmVbRf6SyEIbP1IZOA7Ot/xK0nMji4iDvyIKuwXxeKJ0JsXEZwzUwSRoxcQOT6nUNyg+D+E3cKRO2AYa38O5Vil40uqCuXlJ8fwroeS60rCV8X8fBjsXnlQp5KUNmNWk1K9OyIB1DqgkLsbVnxDlfSAmChm+qo3jl55XzYt2QwvOOgtsc/g48z3QwO3RW8GxfKDpWLZsr2eVb4q0emRs2ZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; 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=9jPZw3fjgw1PnH9iOGPVOOTdnWBQkL148rq5LP9hFcY=; b=Y8aO6C+xrg/oGn9018yzvfb4HBXjs92vxmi4AsMLziXUaM1Xz/Jg+0KcMkqRy6hC1Zy/UZoYSxZwPv1qwZ7VGgZlrosIgMHToM8u1S4mQOrAS3DLUoZMMfCydtdZoGNC7fIWBjoc+O4RkmeGXr8KkinUdryJ4vm9YeJAc/2B9X0BdWhFaYZgdS0DyU+OnfKUOOFtSZF9ly2Qf4OC18CRyahTmGRhPtetpwtsFn3z8x/0zMfGrZWlFSLDxEcXo3sC9og+G0nnRKBx+yX/Ds/qev3ub9ve9HMdvtERU1XDXBVrwe7hBPUOAFUtv+icPzA1YcVOa2zTI+/TksfzwWzhow== Received: from MW4PR12MB7031.namprd12.prod.outlook.com (2603:10b6:303:1ef::6) by SJ2PR12MB8954.namprd12.prod.outlook.com (2603:10b6:a03:541::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.23; Wed, 31 May 2023 12:38:54 +0000 Received: from MW4PR12MB7031.namprd12.prod.outlook.com ([fe80::d9df:b45b:2cc1:f017]) by MW4PR12MB7031.namprd12.prod.outlook.com ([fe80::d9df:b45b:2cc1:f017%5]) with mapi id 15.20.6433.024; Wed, 31 May 2023 12:38:54 +0000 From: "Nickle Wang" To: "abner.chang@amd.com" , "devel@edk2.groups.io" CC: Igor Kulchytskyy Subject: Re: [edk2-redfish-client][PATCH 1/2] RedfishClientPkg: Replace __FUNCTION__ with __func__ Thread-Topic: [edk2-redfish-client][PATCH 1/2] RedfishClientPkg: Replace __FUNCTION__ with __func__ Thread-Index: AQHZkspLXRKU0HmKq0OzOoMFE9+i7K90VBWw Date: Wed, 31 May 2023 12:38:54 +0000 Message-ID: References: <20230530074210.1975-1-abner.chang@amd.com> In-Reply-To: <20230530074210.1975-1-abner.chang@amd.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR12MB7031:EE_|SJ2PR12MB8954:EE_ x-ms-office365-filtering-correlation-id: b8572de3-5586-4448-ac78-08db61d3fef8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DvH7KeVUguaSJho83BZy+FA3WDjneE43+rQKt5w3DpX4ka7dx5LqXBgmIjYA+Uf1oLl/rDdNd61FXh0BS444N7pr9A/FbvfeP9mpea00ZDhKujWtx1MgwvGeNDyakT33FhqVATdrGSrZ3kMbPtiYvMDM4uCVCW+4UmJdiZ8t/StAA7eut4fpK4ayHEbF1nGzIBLzwQJVBtioDKjZEYcqlZHI+TUsk0mxy0+xAmyzJXQvJBJRHHnaf6ecFLgeuTCg8+jcgZ6wpWZmpngJN2XEOcpDIWoI1kKDb5H7bCx7KlU5qjgwnqzG+tTns3Koc/ZgFbW7L00HmTLLmpDT+0nRgjduDGAqKzJMUs4d7Jh8I2n1Kd+c4VcySHxivVPVYchLXIStZr1oCG1Fn670oaNRUvXYVjbOnUm42NTuLkeTKacYUJ+jrKJvFoGMTMD5RXOxviJU6xLUk/3eLLa6tOCmnRBQpXjBFKhso2GgSEkWwkwz5/vAjab59CI5mwT6YnBDW6LKERjLO8B/ktwvXrM7fBNs1tpeibAW4BZHdtjCEz3uqoxtl+2v3ed9oIzytR7YhbM3+0eWsjeBNebmzGFoXAddgneNJtlT/iGMbsGqkcCVkSzMqW/SE5kUI0mnZ9j8hBCy4WjcEvbmhwDYMMd1aw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR12MB7031.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(376002)(346002)(39860400002)(136003)(366004)(451199021)(478600001)(71200400001)(19627235002)(110136005)(8676002)(122000001)(52536014)(8936002)(86362001)(5660300002)(33656002)(30864003)(2906002)(38070700005)(64756008)(66446008)(66946007)(66556008)(76116006)(66476007)(316002)(4326008)(55016003)(38100700002)(41300700001)(26005)(83380400001)(53546011)(6506007)(186003)(9686003)(7696005)(559001)(579004)(44824005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?oIE1WDjERccPjnR8GiX/gPrZ5bUdrnl3S6tUd2H7wFdo8YHNDmQnjNJCnJVe?= =?us-ascii?Q?fZlnY7CCam3Fy4ME7CxNqWlXlOqhRPq7iYj4DFpvAPPFQZle92RRznVXjx3U?= =?us-ascii?Q?yi+kMo2v2cj0kxs3WvjkBaBxVnknAAeGSIWnHTRzEH5Lxm6Q6y/51x25GzKx?= =?us-ascii?Q?35/Arjf9kjqXAzWOUGXzdx7ymn+VCnYRlplMp7V/ITH3NfP1BuhMKS3Wz3uq?= =?us-ascii?Q?iHGuZVvQtf9dNcWhld3KXcUjdfE0kTAv42GbNZvNcxtyLJQSl2SMYFdjI6G7?= =?us-ascii?Q?NbrjoJBpklxVQLbz8yHvFxp6wDsFEWQBOdTy4G9Xr66QBk4Ufs6ZegZc1zgI?= =?us-ascii?Q?jii6FOrqSPWXkVinCZEYyTRhQ5TcFGnZypM848PCPs14HQJZECStkdvxwxNQ?= =?us-ascii?Q?Pt4itLp6QTYr+xUSWmPzJEaNE1z+4kngA/jrkl/eWHX7+7EH8qkV8/rG1PHJ?= =?us-ascii?Q?IeosHtTEykWfajLNqkQdGfFK5nP1MTWkht4HIAIvKs8Jm+sEg8A44McZ1hkz?= =?us-ascii?Q?TxmkCiEu0BzgrQUOwAOZ4w12bFIblezK0FbPEc3P/4a638zcQQBsjQ8/zuzO?= =?us-ascii?Q?3OnigUu7QTpdBzRkGemRwPaQ8WqryVclxy1Wt0zdX1CvsTobKYSCwD2k/H2z?= =?us-ascii?Q?/fYLaYaWnW+fJYukQ5/n4No0zmofx4vPJwES0KO4SDJ/bq1CFGfX8lcEAKlf?= =?us-ascii?Q?VlqxV+wafJImDIxnnUsII0FAgiTKfSQ2XSsIF994XGgF4couJkIraKUQzZRQ?= =?us-ascii?Q?8LZr71hk145aEtG3hgBn5a0ZRYvhUDHpYG6qg3UnDqDa/QQZM0IR2s603b61?= =?us-ascii?Q?EFqLAL9O3kJcXRXlTML2+3OnZ/y+emMBRGomI8rnjRRMH/PNlI7X7Ry/pI7H?= =?us-ascii?Q?pf9d83Jbx4tSzBRFbnPsnBbMRnhZlJjmsFtKzgsJ3iLK0+Q5of3v2SeJLoDM?= =?us-ascii?Q?aN9/sm82xK66BvM2As80KfRmLl3Q2Eg0lrogH5Bs4CBJ8uxufMs+YRuaC5dJ?= =?us-ascii?Q?o1KWZf83TQkx3XRIojrtlIpz9LD8sWTD86tyuH6UEdCZdDVi8UyqLX63t3pE?= =?us-ascii?Q?Be+LFsNoQdd9/zKGPKk5+3RNOXa/DMGUBFCt0PHoSmgAwCRGX8hudL7GdbcA?= =?us-ascii?Q?eofXEePLLYPzQYTzsBWSh4x8FhtCgnkF2DTmAPBQ5Oswochqshmw9RhIxTlV?= =?us-ascii?Q?az0bZuH3baSEk19b9qVh3J/k/NThDExo2gnNxvn8sPyUGUGqPJ04E3g7GMNJ?= =?us-ascii?Q?FcmnoqNCJuM5hAJse0Q0+0I6R25/qBxEwmzB/it7+EtDubyewPCgtklmiWmq?= =?us-ascii?Q?os2+LVdu1xNICIgzCO66gWJf20UB18oNFphzznMwwB6/JGNG8S3V7eCNx7cX?= =?us-ascii?Q?AwU1OYAaxg8gilx7TaJgCwyBDB+hsKUEWpIbGLfOmy9iz4EIIGpL98813EgS?= =?us-ascii?Q?OE++YyXzalmrwMnbrSFaGYUw0878+GKgHM73eiFmGs1PM49UZiKVGur2pExr?= =?us-ascii?Q?B1ud/bswCf1MNbrnxBfz6zwhjoO0FKBsH4FgezwUTXUdfSAMMdjpqhhe1+A9?= =?us-ascii?Q?Kcody6zA2D8DmV2ESVI=3D?= MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR12MB7031.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b8572de3-5586-4448-ac78-08db61d3fef8 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2023 12:38:54.6333 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YEbeoaxL3rQo595XvFoCD8BaECqHIUY1k183vDCKiPz3UjdRRu7Ftd83xrUKTJBCjTNHakAMZUrxvD94S6GfNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8954 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Nickle Wang Regards, Nickle > -----Original Message----- > From: abner.chang@amd.com > Sent: Tuesday, May 30, 2023 3:42 PM > To: devel@edk2.groups.io > Cc: Nickle Wang ; Igor Kulchytskyy > Subject: [edk2-redfish-client][PATCH 1/2] RedfishClientPkg: Replace > __FUNCTION__ with __func__ >=20 > External email: Use caution opening links or attachments >=20 >=20 > From: Abner Chang >=20 > Signed-off-by: Abner Chang > Cc: Nickle Wang > Cc: Igor Kulchytskyy > --- > .../Features/Bios/v1_0_9/Common/BiosCommon.c | 76 ++--- > .../Features/Bios/v1_0_9/Dxe/BiosDxe.c | 32 +-- > .../v1_5_0/Common/ComputerSystemCommon.c | 148 +++++----- > .../v1_5_0/Dxe/ComputerSystemDxe.c | 24 +- > .../ComputerSystemCollectionDxe.c | 58 ++-- > .../Memory/V1_7_1/Common/MemoryCommon.c | 264 +++++++++--------- > .../Features/Memory/V1_7_1/Dxe/MemoryDxe.c | 24 +- > .../MemoryCollectionDxe/MemoryCollectionDxe.c | 58 ++-- > .../EdkIIRedfishResourceConfigLib.c | 8 +- > .../Library/RedfishEventLib/RedfishEventLib.c | 4 +- > .../RedfishFeatureUtilityLib.c | 188 ++++++------- > .../RedfishResourceIdentifyLibComuterSystem.c | 10 +- > .../RedfishResourceIdentifyLibNull.c | 2 +- > .../RedfishVersionLib/RedfishVersionLib.c | 2 +- > .../PrivateLibrary/RedfishLib/RedfishLib.c | 2 +- > .../RedfishLib/edk2libredfish/src/service.c | 8 +- > .../RedfishConfigLangMapDxe.c | 14 +- > .../RedfishETagDxe/RedfishETagDxe.c | 14 +- > .../RedfishFeatureCoreDxe.c | 10 +- > 19 files changed, 473 insertions(+), 473 deletions(-) >=20 > diff --git a/RedfishClientPkg/Features/Bios/v1_0_9/Common/BiosCommon.c > b/RedfishClientPkg/Features/Bios/v1_0_9/Common/BiosCommon.c > index 22074559c7..82a3d46548 100644 > --- a/RedfishClientPkg/Features/Bios/v1_0_9/Common/BiosCommon.c > +++ b/RedfishClientPkg/Features/Bios/v1_0_9/Common/BiosCommon.c > @@ -52,7 +52,7 @@ RedfishConsumeResourceCommon ( > (EFI_REST_JSON_STRUCTURE_HEADE= R **)&Bios > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __func__, Sta= tus)); > return Status; > } >=20 > @@ -65,7 +65,7 @@ RedfishConsumeResourceCommon ( > // > // No change > // > - DEBUG ((DEBUG_INFO, "%a, ETAG: %s has no change, ignore consume > action\n", __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_INFO, "%a, ETAG: %s has no change, ignore consume > action\n", __func__, Private->Uri)); > Status =3D EFI_ALREADY_STARTED; > goto ON_RELEASE; > } > @@ -81,12 +81,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, BiosCs->AttributeRegistry); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -111,7 +111,7 @@ RedfishConsumeResourceCommon ( >=20 > EmptyPropCs =3D (RedfishCS_Type_EmptyProp_CS_Data *)BiosCs->Attribut= es- > >Prop.ForwardLink; > if (EmptyPropCs->Header.ResourceType =3D=3D RedfishCS_Type_JSON) { > - DEBUG ((DEBUG_ERROR, "%a, Empty property with RedfishCS_Type_JSON > type resource is not supported yet. (%s)\n", __FUNCTION__, Private->Uri))= ; > + DEBUG ((DEBUG_ERROR, "%a, Empty property with RedfishCS_Type_JSON > type resource is not supported yet. (%s)\n", __func__, Private->Uri)); > goto ON_RELEASE; > } >=20 > @@ -122,12 +122,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsVagueType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, EmptyPropCs->KeyValuePtr, > EmptyPropCs->NunmOfProperties); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -166,7 +166,7 @@ ProvisioningBiosProperties ( > return EFI_INVALID_PARAMETER; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s with: %s\n", > __FUNCTION__, ConfigureLang, (ProvisionMode ? L"Provision resource" : > L"Update resource"))); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s with: %s\n", __func_= _, > ConfigureLang, (ProvisionMode ? L"Provision resource" : L"Update resource= "))); >=20 > *ResultJson =3D NULL; > PropertyChanged =3D FALSE; > @@ -179,7 +179,7 @@ ProvisioningBiosProperties ( > (EFI_REST_JSON_STRUCTURE_HEADER **)&Bio= s > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToStructure failure: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToStructure failure: %r\n", __func__, Stat= us)); > return Status; > } >=20 > @@ -242,7 +242,7 @@ ProvisioningBiosProperties ( > ResultJson > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToJson() failed: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToJson() failed: %r\n", __func__, Status))= ; > return Status; > } >=20 > @@ -286,13 +286,13 @@ ProvisioningBiosResource ( > &Json > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, provisioning resource for %s failed: %r\n"= , > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, provisioning resource for %s failed: %r\n"= , > __func__, ConfigureLang, Status)); > return Status; > } >=20 > Status =3D CreatePayloadToPostResource (Private->RedfishService, Priva= te- > >Payload, Json, &NewResourceLocation, &EtagStr); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, post Bios resource for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, post Bios resource for %s failed: %r\n", > __func__, ConfigureLang, Status)); > goto RELEASE_RESOURCE; > } >=20 > @@ -341,7 +341,7 @@ ProvisioningBiosResources ( >=20 > Status =3D RedfishFeatureGetUnifiedArrayTypeConfigureLang > (RESOURCE_SCHEMA, RESOURCE_SCHEMA_VERSION, > REDPATH_ARRAY_PATTERN, &UnifiedConfigureLangList); > if (EFI_ERROR (Status) || (UnifiedConfigureLangList.Count =3D=3D 0)) { > - DEBUG ((DEBUG_ERROR, "%a, No HII question found with configure langu= age: > %s: %r\n", __FUNCTION__, REDPATH_ARRAY_PATTERN, Status)); > + DEBUG ((DEBUG_ERROR, "%a, No HII question found with configure langu= age: > %s: %r\n", __func__, REDPATH_ARRAY_PATTERN, Status)); > return EFI_NOT_FOUND; > } >=20 > @@ -393,21 +393,21 @@ ProvisioningBiosExistResource ( > ); > if (EFI_ERROR (Status)) { > if (Status =3D=3D EFI_NOT_FOUND) { > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource f= or %s > ignored. Nothing changed\n", __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource f= or %s > ignored. Nothing changed\n", __func__, ConfigureLang)); > } else { > - DEBUG ((DEBUG_ERROR, "%a, provisioning existing resource for %s fa= iled: > %r\n", __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, provisioning existing resource for %s fa= iled: > %r\n", __func__, ConfigureLang, Status)); > } >=20 > goto ON_RELEASE; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource for > %s\n", __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource for > %s\n", __func__, ConfigureLang)); > // > // PUT back to instance > // > Status =3D CreatePayloadToPatchResource (Private->RedfishService, Priv= ate- > >Payload, Json, &EtagStr); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", __fun= c__, > ConfigureLang, Status)); > } >=20 > // > @@ -483,7 +483,7 @@ RedfishCheckResourceCommon ( >=20 > Status =3D RedfishPlatformConfigGetConfigureLang (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, REDPATH_ARRAY_PATTERN, &ConfigureLangList, > &Count); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __func__, Status)); > return Status; > } >=20 > @@ -498,9 +498,9 @@ RedfishCheckResourceCommon ( > continue; > } >=20 > - DEBUG ((DEBUG_INFO, "%a, [%d] check attribute for: %s\n", __FUNCTION= __, > Index, Property)); > + DEBUG ((DEBUG_INFO, "%a, [%d] check attribute for: %s\n", __func__, = Index, > Property)); > if (!MatchPropertyWithJsonContext (Property, Json)) { > - DEBUG ((DEBUG_INFO, "%a, property is missing: %s\n", __FUNCTION__, > Property)); > + DEBUG ((DEBUG_INFO, "%a, property is missing: %s\n", __func__, > Property)); > Status =3D EFI_NOT_FOUND; > } > } > @@ -554,21 +554,21 @@ RedfishUpdateResourceCommon ( > ); > if (EFI_ERROR (Status)) { > if (Status =3D=3D EFI_NOT_FOUND) { > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s ignored. > Nothing changed\n", __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s ignored. > Nothing changed\n", __func__, ConfigureLang)); > } else { > - DEBUG ((DEBUG_ERROR, "%a, update resource for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, update resource for %s failed: %r\n", > __func__, ConfigureLang, Status)); > } >=20 > goto ON_RELEASE; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s\n", > __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s\n", __func__, > ConfigureLang)); > // > // PUT back to instance > // > Status =3D CreatePayloadToPatchResource (Private->RedfishService, Priv= ate- > >Payload, Json, &EtagStr); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", __fun= c__, > ConfigureLang, Status)); > } >=20 > // > @@ -617,7 +617,7 @@ RedfishIdentifyResourceCommon ( > if (Supported) { > Status =3D RedfishFeatureGetUnifiedArrayTypeConfigureLang > (RESOURCE_SCHEMA, RESOURCE_SCHEMA_VERSION, > REDPATH_ARRAY_PATTERN, &ConfigLangList); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __func__, Status)); > return Status; > } >=20 > @@ -674,11 +674,11 @@ HandleResource ( > // Resource match > // >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, process resource for: %s\n", > __FUNCTION__, Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, process resource for: %s\n", __func_= _, > Uri)); >=20 > Status =3D GetRedfishSchemaInfo (Private->RedfishService, Private- > >JsonStructProtocol, Uri, &SchemaInfo); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to get schema information from: %s > %r\n", __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to get schema information from: %s > %r\n", __func__, Uri, Status)); > return Status; > } >=20 > @@ -686,21 +686,21 @@ HandleResource ( > // Check and see if this is target resource that we want to handle. > // Some resource is handled by other provider so we have to make sure = this > first. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%s Identify for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%s Identify for %s\n", __func__, Uri)); > ConfigLang =3D RedfishGetConfigLanguage (Uri); > if (ConfigLang =3D=3D NULL) { > Status =3D EdkIIRedfishResourceConfigIdentify (&SchemaInfo, Uri, Pri= vate- > >InformationExchange); > if (EFI_ERROR (Status)) { > if (Status =3D=3D EFI_UNSUPPORTED) { > - DEBUG ((DEBUG_INFO, "%a, \"%s\" is not handled by us\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_INFO, "%a, \"%s\" is not handled by us\n", __func_= _, Uri)); > return EFI_SUCCESS; > } >=20 > - DEBUG ((DEBUG_ERROR, "%a, fail to identify resource: \"%s\": %r\n"= , > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, fail to identify resource: \"%s\": %r\n"= , > __func__, Uri, Status)); > return Status; > } > } else { > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, history record found: %s\n", > __FUNCTION__, ConfigLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, history record found: %s\n", > __func__, ConfigLang)); > FreePool (ConfigLang); > } >=20 > @@ -708,16 +708,16 @@ HandleResource ( > // Check and see if target property exist or not even when collection = memeber > exists. > // If not, we sill do provision. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a Check for %s\n", __FUNCTION__, Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a Check for %s\n", __func__, Uri)); > Status =3D EdkIIRedfishResourceConfigCheck (&SchemaInfo, Uri); > if (EFI_ERROR (Status)) { > // > // The target property does not exist, do the provision to create pr= operty. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s\n", __func__, Uri)= ); > Status =3D EdkIIRedfishResourceConfigProvisionging (&SchemaInfo, Uri= , Private- > >InformationExchange, FALSE); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to provision with GET mode: %r\n"= , > __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to provision with GET mode: %r\n"= , > __func__, Status)); > } >=20 > return Status; > @@ -726,19 +726,19 @@ HandleResource ( > // > // Consume first. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a consume for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a consume for %s\n", __func__, Uri)); > Status =3D EdkIIRedfishResourceConfigConsume (&SchemaInfo, Uri); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to consume resoruce for: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to consume resoruce for: %s: %r\n", > __func__, Uri, Status)); > } >=20 > // > // Patch. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a update for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a update for %s\n", __func__, Uri)); > Status =3D EdkIIRedfishResourceConfigUpdate (&SchemaInfo, Uri); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to update resoruce for: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to update resoruce for: %s: %r\n", > __func__, Uri, Status)); > } >=20 > return Status; > diff --git a/RedfishClientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.c > b/RedfishClientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.c > index 15ec208d79..bbfbe7a873 100644 > --- a/RedfishClientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.c > +++ b/RedfishClientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.c > @@ -46,7 +46,7 @@ RedfishResourceProvisioningResource ( > return EFI_INVALID_PARAMETER; > } >=20 > - DEBUG ((DEBUG_INFO, "%a, provisioning in %s mode\n", __FUNCTION__, > (PostMode ? L"POST" : L"PATCH"))); > + DEBUG ((DEBUG_INFO, "%a, provisioning in %s mode\n", __func__, > (PostMode ? L"POST" : L"PATCH"))); >=20 > Private =3D > REDFISH_RESOURCE_COMMON_PRIVATE_DATA_FROM_RESOURCE_PROTOCOL > (This); >=20 > @@ -56,7 +56,7 @@ RedfishResourceProvisioningResource ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -115,7 +115,7 @@ RedfishResourceConsumeResource ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -132,13 +132,13 @@ RedfishResourceConsumeResource ( > Etag =3D NULL; > Status =3D GetEtagAndLocation (&Response, &Etag, NULL); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to get ETag from HTTP header\n", > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, failed to get ETag from HTTP header\n", > __func__)); > } >=20 > Status =3D RedfishConsumeResourceCommon (Private, Private->Json, Etag)= ; > if (EFI_ERROR (Status)) { > if (Status !=3D EFI_ALREADY_STARTED) { > - DEBUG ((DEBUG_ERROR, "%a, failed to consume resource from: %s: %r\= n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to consume resource from: %s: %r\= n", > __func__, Uri, Status)); > } > } else { > // > @@ -237,7 +237,7 @@ RedfishResourceUpdate ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -250,7 +250,7 @@ RedfishResourceUpdate ( >=20 > Status =3D RedfishUpdateResourceCommon (Private, Private->Json); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to update resource from: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to update resource from: %s: %r\n", > __func__, Uri, Status)); > } >=20 > // > @@ -306,7 +306,7 @@ RedfishResourceCheck ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -319,7 +319,7 @@ RedfishResourceCheck ( >=20 > Status =3D RedfishCheckResourceCommon (Private, Private->Json); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to check resource from: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to check resource from: %s: %r\n", > __func__, Uri, Status)); > } >=20 > // > @@ -376,7 +376,7 @@ RedfishResourceIdentify ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -389,7 +389,7 @@ RedfishResourceIdentify ( >=20 > Status =3D RedfishIdentifyResourceCommon (Private, Private->Json); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, identify %s failed: %r\n", __FUNCTION__, U= ri, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, identify %s failed: %r\n", __func__, Uri, > Status)); > } >=20 > // > @@ -527,7 +527,7 @@ EfiRestJasonStructureProtocolIsReady ( > (VOID **)&mRedfishResourcePrivate->JsonStructProtocol > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __func__, Status)); > } >=20 > gBS->CloseEvent (Event); > @@ -648,7 +648,7 @@ RedfishExternalResourceResourceFeatureCallback ( > // > ResourceUri =3D (EFI_STRING)AllocateZeroPool (MAX_URI_LENGTH * sizeof > (CHAR16)); > if (ResourceUri =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for full URI.\n", > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for full URI.\n", > __func__)); > return EFI_OUT_OF_RESOURCES; > } >=20 > @@ -666,7 +666,7 @@ RedfishExternalResourceResourceFeatureCallback ( >=20 > Status =3D HandleResource (Private, Private->Uri); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, process external resource: %a failed: %r\n= ", > __FUNCTION__, Private->Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, process external resource: %a failed: %r\n= ", > __func__, Private->Uri, Status)); > } >=20 > FreePool (Private->Uri); > @@ -703,7 +703,7 @@ EdkIIRedfishFeatureProtocolIsReady ( > (VOID **)&FeatureProtocol > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEdkIIRedfishFeatureProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEdkIIRedfishFeatureProtocolGuid: %r\n", __func__, Status)); > gBS->CloseEvent (Event); > return; > } > @@ -715,7 +715,7 @@ EdkIIRedfishFeatureProtocolIsReady ( > (VOID *)mRedfishResourcePrivate > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to register %s: %r\n", __FUNCTION__= , > REDFISH_MANAGED_URI, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to register %s: %r\n", __func__, > REDFISH_MANAGED_URI, Status)); > } >=20 > mRedfishResourcePrivate->FeatureProtocol =3D FeatureProtocol; > diff --git > a/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Common/ComputerSyste > mCommon.c > b/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Common/ComputerSyste > mCommon.c > index 6c83f17c62..168d62e3d7 100644 > --- > a/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Common/ComputerSyste > mCommon.c > +++ > b/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Common/ComputerSyste > mCommon.c > @@ -51,7 +51,7 @@ RedfishConsumeResourceCommon ( > (EFI_REST_JSON_STRUCTURE_HEADE= R > **)&ComputerSystem > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __func__, Sta= tus)); > return Status; > } >=20 > @@ -64,7 +64,7 @@ RedfishConsumeResourceCommon ( > // > // No change > // > - DEBUG ((DEBUG_INFO, "%a, ETAG: %s has no change, ignore consume > action\n", __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_INFO, "%a, ETAG: %s has no change, ignore consume > action\n", __func__, Private->Uri)); > Status =3D EFI_ALREADY_STARTED; > goto ON_RELEASE; > } > @@ -80,12 +80,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs->AssetTag); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -104,12 +104,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >BiosVersion); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -132,12 +132,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs->Boot- > >BootNext); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -152,12 +152,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringArrayType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs->Boot- > >BootOrder); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -172,12 +172,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs->Boot- > >BootSourceOverrideEnabled); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -192,12 +192,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs->Boot- > >BootSourceOverrideMode); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -212,12 +212,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs->Boot- > >BootSourceOverrideTarget); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -232,12 +232,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs->Boot- > >UefiTargetBootSourceOverride); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -256,12 +256,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >HostName); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -284,12 +284,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsBooleanType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (BOOLEAN)*ComputerSystemCs- > >HostWatchdogTimer->FunctionEnabled); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -304,12 +304,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >HostWatchdogTimer->TimeoutAction); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -324,12 +324,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >HostWatchdogTimer->WarningAction); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -360,12 +360,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >IndicatorLED); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -384,12 +384,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >Manufacturer); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -416,12 +416,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >MemorySummary->MemoryMirroring); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -436,12 +436,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*ComputerSystemCs- > >MemorySummary->TotalSystemMemoryGiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -456,12 +456,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*ComputerSystemCs- > >MemorySummary->TotalSystemPersistentMemoryGiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -476,12 +476,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs->Model); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -516,12 +516,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >PartNumber); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -536,12 +536,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >PowerState); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -564,12 +564,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*ComputerSystemCs- > >ProcessorSummary->Count); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -584,12 +584,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*ComputerSystemCs- > >ProcessorSummary->LogicalProcessorCount); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -604,12 +604,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >ProcessorSummary->Model); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -636,12 +636,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs->SKU); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -660,12 +660,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >SerialNumber); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -688,12 +688,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs->SubModel); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -708,12 +708,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, ComputerSystemCs- > >SystemType); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -763,7 +763,7 @@ ProvisioningComputerSystemProperties ( > return EFI_INVALID_PARAMETER; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s with: %s\n", > __FUNCTION__, ConfigureLang, (ProvisionMode ? L"Provision resource" : > L"Update resource"))); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s with: %s\n", __func_= _, > ConfigureLang, (ProvisionMode ? L"Provision resource" : L"Update resource= "))); >=20 > *ResultJson =3D NULL; > PropertyChanged =3D FALSE; > @@ -776,7 +776,7 @@ ProvisioningComputerSystemProperties ( > (EFI_REST_JSON_STRUCTURE_HEADER > **)&ComputerSystem > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToStructure failure: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToStructure failure: %r\n", __func__, Stat= us)); > return Status; > } >=20 > @@ -1214,7 +1214,7 @@ ProvisioningComputerSystemProperties ( > ResultJson > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToJson() failed: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToJson() failed: %r\n", __func__, Status))= ; > return Status; > } >=20 > @@ -1258,13 +1258,13 @@ ProvisioningComputerSystemResource ( > &Json > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, provisioning resource for %s failed: %r\n"= , > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, provisioning resource for %s failed: %r\n"= , > __func__, ConfigureLang, Status)); > return Status; > } >=20 > Status =3D CreatePayloadToPostResource (Private->RedfishService, Priva= te- > >Payload, Json, &NewResourceLocation, &EtagStr); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, post ComputerSystem resource for %s failed= : > %r\n", __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, post ComputerSystem resource for %s failed= : > %r\n", __func__, ConfigureLang, Status)); > goto RELEASE_RESOURCE; > } >=20 > @@ -1313,7 +1313,7 @@ ProvisioningComputerSystemResources ( >=20 > Status =3D RedfishFeatureGetUnifiedArrayTypeConfigureLang > (RESOURCE_SCHEMA, RESOURCE_SCHEMA_VERSION, > REDPATH_ARRAY_PATTERN, &UnifiedConfigureLangList); > if (EFI_ERROR (Status) || (UnifiedConfigureLangList.Count =3D=3D 0)) { > - DEBUG ((DEBUG_ERROR, "%a, No HII question found with configure langu= age: > %s: %r\n", __FUNCTION__, REDPATH_ARRAY_PATTERN, Status)); > + DEBUG ((DEBUG_ERROR, "%a, No HII question found with configure langu= age: > %s: %r\n", __func__, REDPATH_ARRAY_PATTERN, Status)); > return EFI_NOT_FOUND; > } >=20 > @@ -1365,21 +1365,21 @@ ProvisioningComputerSystemExistResource ( > ); > if (EFI_ERROR (Status)) { > if (Status =3D=3D EFI_NOT_FOUND) { > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource f= or %s > ignored. Nothing changed\n", __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource f= or %s > ignored. Nothing changed\n", __func__, ConfigureLang)); > } else { > - DEBUG ((DEBUG_ERROR, "%a, provisioning existing resource for %s fa= iled: > %r\n", __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, provisioning existing resource for %s fa= iled: > %r\n", __func__, ConfigureLang, Status)); > } >=20 > goto ON_RELEASE; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource for > %s\n", __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource for > %s\n", __func__, ConfigureLang)); > // > // PUT back to instance > // > Status =3D CreatePayloadToPatchResource (Private->RedfishService, Priv= ate- > >Payload, Json, &EtagStr); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", __fun= c__, > ConfigureLang, Status)); > } >=20 > // > @@ -1455,7 +1455,7 @@ RedfishCheckResourceCommon ( >=20 > Status =3D RedfishPlatformConfigGetConfigureLang (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, REDPATH_ARRAY_PATTERN, &ConfigureLangList, > &Count); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __func__, Status)); > return Status; > } >=20 > @@ -1470,9 +1470,9 @@ RedfishCheckResourceCommon ( > continue; > } >=20 > - DEBUG ((DEBUG_INFO, "%a, [%d] check attribute for: %s\n", __FUNCTION= __, > Index, Property)); > + DEBUG ((DEBUG_INFO, "%a, [%d] check attribute for: %s\n", __func__, = Index, > Property)); > if (!MatchPropertyWithJsonContext (Property, Json)) { > - DEBUG ((DEBUG_INFO, "%a, property is missing: %s\n", __FUNCTION__, > Property)); > + DEBUG ((DEBUG_INFO, "%a, property is missing: %s\n", __func__, > Property)); > Status =3D EFI_NOT_FOUND; > } > } > @@ -1526,21 +1526,21 @@ RedfishUpdateResourceCommon ( > ); > if (EFI_ERROR (Status)) { > if (Status =3D=3D EFI_NOT_FOUND) { > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s ignored. > Nothing changed\n", __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s ignored. > Nothing changed\n", __func__, ConfigureLang)); > } else { > - DEBUG ((DEBUG_ERROR, "%a, update resource for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, update resource for %s failed: %r\n", > __func__, ConfigureLang, Status)); > } >=20 > goto ON_RELEASE; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s\n", > __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s\n", __func__, > ConfigureLang)); > // > // PUT back to instance > // > Status =3D CreatePayloadToPatchResource (Private->RedfishService, Priv= ate- > >Payload, Json, &EtagStr); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", __fun= c__, > ConfigureLang, Status)); > } >=20 > // > @@ -1589,7 +1589,7 @@ RedfishIdentifyResourceCommon ( > if (Supported) { > Status =3D RedfishFeatureGetUnifiedArrayTypeConfigureLang > (RESOURCE_SCHEMA, RESOURCE_SCHEMA_VERSION, > REDPATH_ARRAY_PATTERN, &ConfigLangList); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __func__, Status)); > return Status; > } >=20 > diff --git > a/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Dxe/ComputerSystemDx > e.c > b/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Dxe/ComputerSystemDx > e.c > index 6468461321..64480a2199 100644 > --- > a/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Dxe/ComputerSystemDx > e.c > +++ > b/RedfishClientPkg/Features/ComputerSystem/v1_5_0/Dxe/ComputerSystemDx > e.c > @@ -40,7 +40,7 @@ RedfishResourceProvisioningResource ( > return EFI_INVALID_PARAMETER; > } >=20 > - DEBUG ((DEBUG_INFO, "%a, provisioning in %s mode\n", __FUNCTION__, > (PostMode ? L"POST" : L"PATCH"))); > + DEBUG ((DEBUG_INFO, "%a, provisioning in %s mode\n", __func__, > (PostMode ? L"POST" : L"PATCH"))); >=20 > Private =3D > REDFISH_RESOURCE_COMMON_PRIVATE_DATA_FROM_RESOURCE_PROTOCOL > (This); >=20 > @@ -50,7 +50,7 @@ RedfishResourceProvisioningResource ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -109,7 +109,7 @@ RedfishResourceConsumeResource ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -126,13 +126,13 @@ RedfishResourceConsumeResource ( > Etag =3D NULL; > Status =3D GetEtagAndLocation (&Response, &Etag, NULL); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to get ETag from HTTP header\n", > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, failed to get ETag from HTTP header\n", > __func__)); > } >=20 > Status =3D RedfishConsumeResourceCommon (Private, Private->Json, Etag)= ; > if (EFI_ERROR (Status)) { > if (Status !=3D EFI_ALREADY_STARTED) { > - DEBUG ((DEBUG_ERROR, "%a, failed to consume resource from: %s: %r\= n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to consume resource from: %s: %r\= n", > __func__, Uri, Status)); > } > } else { > // > @@ -231,7 +231,7 @@ RedfishResourceUpdate ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -244,7 +244,7 @@ RedfishResourceUpdate ( >=20 > Status =3D RedfishUpdateResourceCommon (Private, Private->Json); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to update resource from: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to update resource from: %s: %r\n", > __func__, Uri, Status)); > } >=20 > // > @@ -300,7 +300,7 @@ RedfishResourceCheck ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -313,7 +313,7 @@ RedfishResourceCheck ( >=20 > Status =3D RedfishCheckResourceCommon (Private, Private->Json); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to check resource from: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to check resource from: %s: %r\n", > __func__, Uri, Status)); > } >=20 > // > @@ -370,7 +370,7 @@ RedfishResourceIdentify ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -383,7 +383,7 @@ RedfishResourceIdentify ( >=20 > Status =3D RedfishIdentifyResourceCommon (Private, Private->Json); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, identify %s failed: %r\n", __FUNCTION__, U= ri, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, identify %s failed: %r\n", __func__, Uri, > Status)); > } >=20 > // > @@ -521,7 +521,7 @@ EfiRestJasonStructureProtocolIsReady ( > (VOID **)&mRedfishResourcePrivate->JsonStructProtocol > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __func__, Status)); > } >=20 > gBS->CloseEvent (Event); > diff --git > a/RedfishClientPkg/Features/ComputerSystemCollectionDxe/ComputerSystemCo > llectionDxe.c > b/RedfishClientPkg/Features/ComputerSystemCollectionDxe/ComputerSystemCo > llectionDxe.c > index 393ec95534..cd73542303 100644 > --- > a/RedfishClientPkg/Features/ComputerSystemCollectionDxe/ComputerSystemCo > llectionDxe.c > +++ > b/RedfishClientPkg/Features/ComputerSystemCollectionDxe/ComputerSystemCo > llectionDxe.c > @@ -32,11 +32,11 @@ HandleResource ( > // Resource match > // >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, process resource for: %s\n", > __FUNCTION__, Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, process resource for: %s\n", __func_= _, > Uri)); >=20 > Status =3D GetRedfishSchemaInfo (Private->RedfishService, Private- > >JsonStructProtocol, Uri, &SchemaInfo); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to get schema information from: %s > %r\n", __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to get schema information from: %s > %r\n", __func__, Uri, Status)); > return Status; > } >=20 > @@ -44,21 +44,21 @@ HandleResource ( > // Check and see if this is target resource that we want to handle. > // Some resource is handled by other provider so we have to make sure = this > first. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%s Identify for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%s Identify for %s\n", __func__, Uri)); > ConfigLang =3D RedfishGetConfigLanguage (Uri); > if (ConfigLang =3D=3D NULL) { > Status =3D EdkIIRedfishResourceConfigIdentify (&SchemaInfo, Uri, Pri= vate- > >InformationExchange); > if (EFI_ERROR (Status)) { > if (Status =3D=3D EFI_UNSUPPORTED) { > - DEBUG ((DEBUG_INFO, "%a, \"%s\" is not handled by us\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_INFO, "%a, \"%s\" is not handled by us\n", __func_= _, Uri)); > return EFI_SUCCESS; > } >=20 > - DEBUG ((DEBUG_ERROR, "%a, fail to identify resource: \"%s\": %r\n"= , > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, fail to identify resource: \"%s\": %r\n"= , > __func__, Uri, Status)); > return Status; > } > } else { > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, history record found: %s\n", > __FUNCTION__, ConfigLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, history record found: %s\n", > __func__, ConfigLang)); > // > // Set exchange information > // > @@ -70,7 +70,7 @@ HandleResource ( > AllocateZeroPool (sizeof (REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG= )); >=20 > if (Private->InformationExchange- > >ReturnedInformation.ConfigureLanguageList.List =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for > REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG.\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for > REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG.\n", __func__)); > return EFI_OUT_OF_RESOURCES; > } >=20 > @@ -78,7 +78,7 @@ HandleResource ( > Private->InformationExchange- > >ReturnedInformation.ConfigureLanguageList.List[0].ConfigureLang =3D > (EFI_STRING)AllocateCopyPool (StrSize (ReturnedConfigLang), (VOI= D > *)ReturnedConfigLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, GetArrayIndexFromArrayTypeConfigureLang > fail: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, GetArrayIndexFromArrayTypeConfigureLang > fail: %r\n", __func__, Status)); > } >=20 > FreePool (ConfigLang); > @@ -88,16 +88,16 @@ HandleResource ( > // Check and see if target property exist or not even when collection = memeber > exists. > // If not, we sill do provision. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a Check for %s\n", __FUNCTION__, Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a Check for %s\n", __func__, Uri)); > Status =3D EdkIIRedfishResourceConfigCheck (&SchemaInfo, Uri); > if (EFI_ERROR (Status)) { > // > // The target property does not exist, do the provision to create pr= operty. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s\n", __func__, Uri)= ); > Status =3D EdkIIRedfishResourceConfigProvisionging (&SchemaInfo, Uri= , Private- > >InformationExchange, FALSE); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to provision with GET mode: %r\n"= , > __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to provision with GET mode: %r\n"= , > __func__, Status)); > } >=20 > return Status; > @@ -106,19 +106,19 @@ HandleResource ( > // > // Consume first. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a consume for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a consume for %s\n", __func__, Uri)); > Status =3D EdkIIRedfishResourceConfigConsume (&SchemaInfo, Uri); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to consume resoruce for: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to consume resoruce for: %s: %r\n", > __func__, Uri, Status)); > } >=20 > // > // Patch. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a update for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a update for %s\n", __func__, Uri)); > Status =3D EdkIIRedfishResourceConfigUpdate (&SchemaInfo, Uri); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to update resoruce for: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to update resoruce for: %s: %r\n", > __func__, Uri, Status)); > } >=20 > return Status; > @@ -145,7 +145,7 @@ HandleCollectionResource ( > return EFI_NOT_READY; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, process collection for: %s\n", > __FUNCTION__, Private->CollectionUri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, process collection for: %s\n", > __func__, Private->CollectionUri)); >=20 > // > // Convert JSON text to C structure. > @@ -157,7 +157,7 @@ HandleCollectionResource ( > (EFI_REST_JSON_STRUCTURE_HEADE= R **)&Collection > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __func__, Sta= tus)); > return Status; > } >=20 > @@ -182,7 +182,7 @@ HandleCollectionResource ( > if (MemberUri !=3D NULL) { > Status =3D HandleResource (Private, MemberUri); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, process ComputerSystemCollection > resource: %a failed: %r\n", __FUNCTION__, UriData->Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, process ComputerSystemCollection > resource: %a failed: %r\n", __func__, UriData->Uri, Status)); > } >=20 > FreePool (MemberUri); > @@ -216,19 +216,19 @@ CreateCollectionResource ( > return EFI_INVALID_PARAMETER; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, create resource for collection for: > %s\n", __FUNCTION__, Private->CollectionUri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, create resource for collection for: > %s\n", __func__, Private->CollectionUri)); >=20 > Status =3D GetSupportedSchemaVersion (REDFISH_SCHEMA_NAME, > &SchemaInfo); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to find supported schema from HII > database: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to find supported schema from HII > database: %r\n", __func__, Status)); > return Status; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, supported schema: %a %a.%a.%a\n", > __FUNCTION__, SchemaInfo.Schema, SchemaInfo.Major, SchemaInfo.Minor, > SchemaInfo.Errata)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, supported schema: %a %a.%a.%a\n", > __func__, SchemaInfo.Schema, SchemaInfo.Major, SchemaInfo.Minor, > SchemaInfo.Errata)); >=20 > Status =3D EdkIIRedfishResourceConfigProvisionging (&SchemaInfo, Priva= te- > >CollectionUri, Private->InformationExchange, TRUE); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to create resoruce for: %s: %r\n", > __FUNCTION__, Private->CollectionUri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to create resoruce for: %s: %r\n", > __func__, Private->CollectionUri, Status)); > } >=20 > return Status; > @@ -283,14 +283,14 @@ CollectionHandler ( > return EFI_INVALID_PARAMETER; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, collection handler for %s\n", > __FUNCTION__, Private->CollectionUri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, collection handler for %s\n", __func= __, > Private->CollectionUri)); >=20 > // > // Query collection from Redfish service. > // > Status =3D GetResourceByUri (Private->RedfishService, Private->Collect= ionUri, > &Private->RedResponse); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, unable to get resource from: %s :%r\n", > __FUNCTION__, Private->CollectionUri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, unable to get resource from: %s :%r\n", > __func__, Private->CollectionUri, Status)); > goto ON_RELEASE; > } >=20 > @@ -368,7 +368,7 @@ RedfishCollectionFeatureCallback ( > // > ResourceUri =3D (EFI_STRING)AllocateZeroPool (MAX_URI_LENGTH * sizeof > (CHAR16)); > if (ResourceUri =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for full URI.\n", > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for full URI.\n", > __func__)); > return EFI_OUT_OF_RESOURCES; > } >=20 > @@ -386,7 +386,7 @@ RedfishCollectionFeatureCallback ( >=20 > Status =3D CollectionHandler (Private); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, CollectionHandler failure: %r\n", > __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, CollectionHandler failure: %r\n", __func__= , > Status)); > } >=20 > return EFI_SUCCESS; > @@ -492,7 +492,7 @@ EfiRestJasonStructureProtocolIsReady ( > (VOID **)&mRedfishCollectionPrivate->JsonStructProtoco= l > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __func__, Status)); > } >=20 > gBS->CloseEvent (Event); > @@ -528,7 +528,7 @@ EdkIIRedfishFeatureProtocolIsReady ( > (VOID **)&FeatureProtocol > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEdkIIRedfishFeatureProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEdkIIRedfishFeatureProtocolGuid: %r\n", __func__, Status)); > gBS->CloseEvent (Event); > return; > } > @@ -540,7 +540,7 @@ EdkIIRedfishFeatureProtocolIsReady ( > (VOID *)mRedfishCollectionPrivate > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to register %s: %r\n", __FUNCTION__= , > REDFISH_MANAGED_URI, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to register %s: %r\n", __func__, > REDFISH_MANAGED_URI, Status)); > } >=20 > mRedfishCollectionPrivate->FeatureProtocol =3D FeatureProtocol; > diff --git > a/RedfishClientPkg/Features/Memory/V1_7_1/Common/MemoryCommon.c > b/RedfishClientPkg/Features/Memory/V1_7_1/Common/MemoryCommon.c > index bf87f185f5..ad212cdc54 100644 > --- a/RedfishClientPkg/Features/Memory/V1_7_1/Common/MemoryCommon.c > +++ b/RedfishClientPkg/Features/Memory/V1_7_1/Common/MemoryCommon.c > @@ -51,7 +51,7 @@ RedfishConsumeResourceCommon ( > (EFI_REST_JSON_STRUCTURE_HEADE= R **)&Memory > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __func__, Sta= tus)); > return Status; > } >=20 > @@ -64,7 +64,7 @@ RedfishConsumeResourceCommon ( > // > // No change > // > - DEBUG ((DEBUG_INFO, "%a, ETAG: %s has no change, ignore consume > action\n", __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_INFO, "%a, ETAG: %s has no change, ignore consume > action\n", __func__, Private->Uri)); > Status =3D EFI_ALREADY_STARTED; > goto ON_RELEASE; > } > @@ -80,12 +80,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >AllocationAlignmentMiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -100,12 +100,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >AllocationIncrementMiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -120,12 +120,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericArrayType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs- > >AllowedSpeedsMHz); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -144,12 +144,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->BaseModuleType); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -164,12 +164,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >BusWidthBits); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -184,12 +184,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >CacheSizeMiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -204,12 +204,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >CapacityMiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -224,12 +224,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsBooleanType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (BOOLEAN)*MemoryCs- > >ConfigurationLocked); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -244,12 +244,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >DataWidthBits); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -264,12 +264,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->DeviceID); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -284,12 +284,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->DeviceLocator); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -304,12 +304,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->ErrorCorrection); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -324,12 +324,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs- > >FirmwareApiVersion); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -344,12 +344,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->FirmwareRevision); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -364,12 +364,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringArrayType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->FunctionClasses); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -384,12 +384,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsBooleanType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (BOOLEAN)*MemoryCs- > >IsRankSpareEnabled); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -404,12 +404,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsBooleanType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (BOOLEAN)*MemoryCs- > >IsSpareDeviceEnabled); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -428,12 +428,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >LogicalSizeMiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -448,12 +448,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->Manufacturer); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -468,12 +468,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericArrayType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->MaxTDPMilliWatts); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -488,12 +488,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs- > >MemoryDeviceType); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -516,12 +516,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >MemoryLocation->Channel); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -536,12 +536,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >MemoryLocation->MemoryController); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -556,12 +556,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >MemoryLocation->Slot); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -576,12 +576,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >MemoryLocation->Socket); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -604,12 +604,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs- > >MemorySubsystemControllerManufacturerID); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -624,12 +624,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs- > >MemorySubsystemControllerProductID); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -644,12 +644,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->MemoryType); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -668,12 +668,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs- > >ModuleManufacturerID); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -688,12 +688,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->ModuleProductID); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -708,12 +708,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >NonVolatileSizeMiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -736,12 +736,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >OperatingSpeedMhz); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -756,12 +756,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->PartNumber); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -776,12 +776,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >PersistentRegionNumberLimit); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -796,12 +796,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >PersistentRegionSizeLimitMiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -816,12 +816,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >PersistentRegionSizeMaxMiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -844,12 +844,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >PowerManagementPolicy->AveragePowerBudgetMilliWatts); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -864,12 +864,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >PowerManagementPolicy->MaxTDPMilliWatts); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -884,12 +884,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >PowerManagementPolicy->PeakPowerBudgetMilliWatts); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -904,12 +904,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsBooleanType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (BOOLEAN)*MemoryCs- > >PowerManagementPolicy->PolicyEnabled); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -924,12 +924,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >RankCount); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -960,12 +960,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsBooleanType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (BOOLEAN)*MemoryCs- > >SecurityCapabilities->ConfigurationLockCapable); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -980,12 +980,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsBooleanType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (BOOLEAN)*MemoryCs- > >SecurityCapabilities->DataLockCapable); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1000,12 +1000,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >SecurityCapabilities->MaxPassphraseCount); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1020,12 +1020,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsBooleanType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (BOOLEAN)*MemoryCs- > >SecurityCapabilities->PassphraseCapable); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1040,12 +1040,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >SecurityCapabilities->PassphraseLockLimit); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1068,12 +1068,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->SecurityState); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1088,12 +1088,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->SerialNumber); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1108,12 +1108,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >SpareDeviceCount); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1128,12 +1128,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs- > >SubsystemDeviceID); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1148,12 +1148,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs- > >SubsystemVendorID); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1168,12 +1168,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsStringType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, MemoryCs->VendorID); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1188,12 +1188,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >VolatileRegionNumberLimit); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1208,12 +1208,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >VolatileRegionSizeLimitMiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1228,12 +1228,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >VolatileRegionSizeMaxMiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1248,12 +1248,12 @@ RedfishConsumeResourceCommon ( > if (ConfigureLang !=3D NULL) { > Status =3D ApplyFeatureSettingsNumericType (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, ConfigureLang, (UINTN)*MemoryCs- > >VolatileSizeMiB); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply setting for %s failed: %r\n", __= func__, > ConfigureLang, Status)); > } >=20 > FreePool (ConfigureLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: = %s\n", > __FUNCTION__, Private->Uri)); > + DEBUG ((DEBUG_ERROR, "%a, can not get configure language for URI: > %s\n", __func__, Private->Uri)); > } > } >=20 > @@ -1296,7 +1296,7 @@ ProvisioningMemoryProperties ( > return EFI_INVALID_PARAMETER; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s with: %s\n", > __FUNCTION__, ConfigureLang, (ProvisionMode ? L"Provision resource" : > L"Update resource"))); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s with: %s\n", __func_= _, > ConfigureLang, (ProvisionMode ? L"Provision resource" : L"Update resource= "))); >=20 > *ResultJson =3D NULL; > PropertyChanged =3D FALSE; > @@ -1309,7 +1309,7 @@ ProvisioningMemoryProperties ( > (EFI_REST_JSON_STRUCTURE_HEADER **)&Mem= ory > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToStructure failure: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToStructure failure: %r\n", __func__, Stat= us)); > return Status; > } >=20 > @@ -2130,7 +2130,7 @@ ProvisioningMemoryProperties ( > ResultJson > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToJson() failed: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToJson() failed: %r\n", __func__, Status))= ; > return Status; > } >=20 > @@ -2174,13 +2174,13 @@ ProvisioningMemoryResource ( > &Json > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, provisioning resource for %s failed: %r\n"= , > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, provisioning resource for %s failed: %r\n"= , > __func__, ConfigureLang, Status)); > return Status; > } >=20 > Status =3D CreatePayloadToPostResource (Private->RedfishService, Priva= te- > >Payload, Json, &NewResourceLocation, &EtagStr); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, post Memory resource for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, post Memory resource for %s failed: %r\n", > __func__, ConfigureLang, Status)); > goto RELEASE_RESOURCE; > } >=20 > @@ -2229,7 +2229,7 @@ ProvisioningMemoryResources ( >=20 > Status =3D RedfishFeatureGetUnifiedArrayTypeConfigureLang > (RESOURCE_SCHEMA, RESOURCE_SCHEMA_VERSION, > REDPATH_ARRAY_PATTERN, &UnifiedConfigureLangList); > if (EFI_ERROR (Status) || (UnifiedConfigureLangList.Count =3D=3D 0)) { > - DEBUG ((DEBUG_ERROR, "%a, No HII question found with configure langu= age: > %s: %r\n", __FUNCTION__, REDPATH_ARRAY_PATTERN, Status)); > + DEBUG ((DEBUG_ERROR, "%a, No HII question found with configure langu= age: > %s: %r\n", __func__, REDPATH_ARRAY_PATTERN, Status)); > return EFI_NOT_FOUND; > } >=20 > @@ -2281,21 +2281,21 @@ ProvisioningMemoryExistResource ( > ); > if (EFI_ERROR (Status)) { > if (Status =3D=3D EFI_NOT_FOUND) { > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource f= or %s > ignored. Nothing changed\n", __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource f= or %s > ignored. Nothing changed\n", __func__, ConfigureLang)); > } else { > - DEBUG ((DEBUG_ERROR, "%a, provisioning existing resource for %s fa= iled: > %r\n", __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, provisioning existing resource for %s fa= iled: > %r\n", __func__, ConfigureLang, Status)); > } >=20 > goto ON_RELEASE; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource for > %s\n", __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, provisioning existing resource for > %s\n", __func__, ConfigureLang)); > // > // PUT back to instance > // > Status =3D CreatePayloadToPatchResource (Private->RedfishService, Priv= ate- > >Payload, Json, &EtagStr); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", __fun= c__, > ConfigureLang, Status)); > } >=20 > // > @@ -2371,7 +2371,7 @@ RedfishCheckResourceCommon ( >=20 > Status =3D RedfishPlatformConfigGetConfigureLang (RESOURCE_SCHEMA, > RESOURCE_SCHEMA_VERSION, REDPATH_ARRAY_PATTERN, &ConfigureLangList, > &Count); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __func__, Status)); > return Status; > } >=20 > @@ -2386,9 +2386,9 @@ RedfishCheckResourceCommon ( > continue; > } >=20 > - DEBUG ((DEBUG_INFO, "%a, [%d] check attribute for: %s\n", __FUNCTION= __, > Index, Property)); > + DEBUG ((DEBUG_INFO, "%a, [%d] check attribute for: %s\n", __func__, = Index, > Property)); > if (!MatchPropertyWithJsonContext (Property, Json)) { > - DEBUG ((DEBUG_INFO, "%a, property is missing: %s\n", __FUNCTION__, > Property)); > + DEBUG ((DEBUG_INFO, "%a, property is missing: %s\n", __func__, > Property)); > Status =3D EFI_NOT_FOUND; > } > } > @@ -2442,21 +2442,21 @@ RedfishUpdateResourceCommon ( > ); > if (EFI_ERROR (Status)) { > if (Status =3D=3D EFI_NOT_FOUND) { > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s ignored. > Nothing changed\n", __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s ignored. > Nothing changed\n", __func__, ConfigureLang)); > } else { > - DEBUG ((DEBUG_ERROR, "%a, update resource for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, update resource for %s failed: %r\n", > __func__, ConfigureLang, Status)); > } >=20 > goto ON_RELEASE; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s\n", > __FUNCTION__, ConfigureLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, update resource for %s\n", __func__, > ConfigureLang)); > // > // PUT back to instance > // > Status =3D CreatePayloadToPatchResource (Private->RedfishService, Priv= ate- > >Payload, Json, &EtagStr); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, patch resource for %s failed: %r\n", __fun= c__, > ConfigureLang, Status)); > } >=20 > // > @@ -2505,7 +2505,7 @@ RedfishIdentifyResourceCommon ( > if (Supported) { > Status =3D RedfishFeatureGetUnifiedArrayTypeConfigureLang > (RESOURCE_SCHEMA, RESOURCE_SCHEMA_VERSION, > REDPATH_ARRAY_PATTERN, &ConfigLangList); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, BiosConfigToRedfishGetConfigureLangRegex > failed: %r\n", __func__, Status)); > return Status; > } >=20 > diff --git a/RedfishClientPkg/Features/Memory/V1_7_1/Dxe/MemoryDxe.c > b/RedfishClientPkg/Features/Memory/V1_7_1/Dxe/MemoryDxe.c > index 0705888836..55e091ac8d 100644 > --- a/RedfishClientPkg/Features/Memory/V1_7_1/Dxe/MemoryDxe.c > +++ b/RedfishClientPkg/Features/Memory/V1_7_1/Dxe/MemoryDxe.c > @@ -40,7 +40,7 @@ RedfishResourceProvisioningResource ( > return EFI_INVALID_PARAMETER; > } >=20 > - DEBUG ((DEBUG_INFO, "%a, provisioning in %s mode\n", __FUNCTION__, > (PostMode ? L"POST" : L"PATCH"))); > + DEBUG ((DEBUG_INFO, "%a, provisioning in %s mode\n", __func__, > (PostMode ? L"POST" : L"PATCH"))); >=20 > Private =3D > REDFISH_RESOURCE_COMMON_PRIVATE_DATA_FROM_RESOURCE_PROTOCOL > (This); >=20 > @@ -50,7 +50,7 @@ RedfishResourceProvisioningResource ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -109,7 +109,7 @@ RedfishResourceConsumeResource ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -126,13 +126,13 @@ RedfishResourceConsumeResource ( > Etag =3D NULL; > Status =3D GetEtagAndLocation (&Response, &Etag, NULL); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to get ETag from HTTP header\n", > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, failed to get ETag from HTTP header\n", > __func__)); > } >=20 > Status =3D RedfishConsumeResourceCommon (Private, Private->Json, Etag)= ; > if (EFI_ERROR (Status)) { > if (Status !=3D EFI_ALREADY_STARTED) { > - DEBUG ((DEBUG_ERROR, "%a, failed to consume resource from: %s: %r\= n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to consume resource from: %s: %r\= n", > __func__, Uri, Status)); > } > } else { > // > @@ -231,7 +231,7 @@ RedfishResourceUpdate ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -244,7 +244,7 @@ RedfishResourceUpdate ( >=20 > Status =3D RedfishUpdateResourceCommon (Private, Private->Json); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to update resource from: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to update resource from: %s: %r\n", > __func__, Uri, Status)); > } >=20 > // > @@ -300,7 +300,7 @@ RedfishResourceCheck ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -313,7 +313,7 @@ RedfishResourceCheck ( >=20 > Status =3D RedfishCheckResourceCommon (Private, Private->Json); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to check resource from: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to check resource from: %s: %r\n", > __func__, Uri, Status)); > } >=20 > // > @@ -370,7 +370,7 @@ RedfishResourceIdentify ( >=20 > Status =3D GetResourceByUri (Private->RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_ERROR, "%a, get resource from: %s failed\n", __func__, > Uri)); > return Status; > } >=20 > @@ -383,7 +383,7 @@ RedfishResourceIdentify ( >=20 > Status =3D RedfishIdentifyResourceCommon (Private, Private->Json); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, identify %s failed: %r\n", __FUNCTION__, U= ri, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, identify %s failed: %r\n", __func__, Uri, > Status)); > } >=20 > // > @@ -521,7 +521,7 @@ EfiRestJasonStructureProtocolIsReady ( > (VOID **)&mRedfishResourcePrivate->JsonStructProtocol > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __func__, Status)); > } >=20 > gBS->CloseEvent (Event); > diff --git > a/RedfishClientPkg/Features/MemoryCollectionDxe/MemoryCollectionDxe.c > b/RedfishClientPkg/Features/MemoryCollectionDxe/MemoryCollectionDxe.c > index c86628a42a..b594f726d0 100644 > --- a/RedfishClientPkg/Features/MemoryCollectionDxe/MemoryCollectionDxe.c > +++ b/RedfishClientPkg/Features/MemoryCollectionDxe/MemoryCollectionDxe.c > @@ -32,11 +32,11 @@ HandleResource ( > // Resource match > // >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, process resource for: %s\n", > __FUNCTION__, Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, process resource for: %s\n", __func_= _, > Uri)); >=20 > Status =3D GetRedfishSchemaInfo (Private->RedfishService, Private- > >JsonStructProtocol, Uri, &SchemaInfo); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to get schema information from: %s > %r\n", __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to get schema information from: %s > %r\n", __func__, Uri, Status)); > return Status; > } >=20 > @@ -44,21 +44,21 @@ HandleResource ( > // Check and see if this is target resource that we want to handle. > // Some resource is handled by other provider so we have to make sure = this > first. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%s Identify for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%s Identify for %s\n", __func__, Uri)); > ConfigLang =3D RedfishGetConfigLanguage (Uri); > if (ConfigLang =3D=3D NULL) { > Status =3D EdkIIRedfishResourceConfigIdentify (&SchemaInfo, Uri, Pri= vate- > >InformationExchange); > if (EFI_ERROR (Status)) { > if (Status =3D=3D EFI_UNSUPPORTED) { > - DEBUG ((DEBUG_INFO, "%a, \"%s\" is not handled by us\n", > __FUNCTION__, Uri)); > + DEBUG ((DEBUG_INFO, "%a, \"%s\" is not handled by us\n", __func_= _, Uri)); > return EFI_SUCCESS; > } >=20 > - DEBUG ((DEBUG_ERROR, "%a, fail to identify resource: \"%s\": %r\n"= , > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, fail to identify resource: \"%s\": %r\n"= , > __func__, Uri, Status)); > return Status; > } > } else { > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, history record found: %s\n", > __FUNCTION__, ConfigLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, history record found: %s\n", > __func__, ConfigLang)); > // > // Set exchange information > // > @@ -70,7 +70,7 @@ HandleResource ( > AllocateZeroPool (sizeof (REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG= )); >=20 > if (Private->InformationExchange- > >ReturnedInformation.ConfigureLanguageList.List =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for > REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG.\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for > REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG.\n", __func__)); > return EFI_OUT_OF_RESOURCES; > } >=20 > @@ -78,7 +78,7 @@ HandleResource ( > Private->InformationExchange- > >ReturnedInformation.ConfigureLanguageList.List[Index].ConfigureLang =3D > (EFI_STRING)AllocateCopyPool (StrSize (ReturnedConfigLang), (VOI= D > *)ReturnedConfigLang); > } else { > - DEBUG ((DEBUG_ERROR, "%a, GetArrayIndexFromArrayTypeConfigureLang > fail: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, GetArrayIndexFromArrayTypeConfigureLang > fail: %r\n", __func__, Status)); > } >=20 > FreePool (ConfigLang); > @@ -88,16 +88,16 @@ HandleResource ( > // Check and see if target property exist or not even when collection = memeber > exists. > // If not, we sill do provision. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a Check for %s\n", __FUNCTION__, Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a Check for %s\n", __func__, Uri)); > Status =3D EdkIIRedfishResourceConfigCheck (&SchemaInfo, Uri); > if (EFI_ERROR (Status)) { > // > // The target property does not exist, do the provision to create pr= operty. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a provision for %s\n", __func__, Uri)= ); > Status =3D EdkIIRedfishResourceConfigProvisionging (&SchemaInfo, Uri= , Private- > >InformationExchange, FALSE); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to provision with GET mode: %r\n"= , > __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to provision with GET mode: %r\n"= , > __func__, Status)); > } >=20 > return Status; > @@ -106,19 +106,19 @@ HandleResource ( > // > // Consume first. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a consume for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a consume for %s\n", __func__, Uri)); > Status =3D EdkIIRedfishResourceConfigConsume (&SchemaInfo, Uri); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to consume resoruce for: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to consume resoruce for: %s: %r\n", > __func__, Uri, Status)); > } >=20 > // > // Patch. > // > - DEBUG ((REDFISH_DEBUG_TRACE, "%a update for %s\n", __FUNCTION__, > Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a update for %s\n", __func__, Uri)); > Status =3D EdkIIRedfishResourceConfigUpdate (&SchemaInfo, Uri); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to update resoruce for: %s: %r\n", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to update resoruce for: %s: %r\n", > __func__, Uri, Status)); > } >=20 > return Status; > @@ -145,7 +145,7 @@ HandleCollectionResource ( > return EFI_NOT_READY; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, process collection for: %s\n", > __FUNCTION__, Private->CollectionUri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, process collection for: %s\n", > __func__, Private->CollectionUri)); >=20 > // > // Convert JSON text to C structure. > @@ -157,7 +157,7 @@ HandleCollectionResource ( > (EFI_REST_JSON_STRUCTURE_HEADE= R **)&Collection > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __func__, Sta= tus)); > return Status; > } >=20 > @@ -182,7 +182,7 @@ HandleCollectionResource ( > if (MemberUri !=3D NULL) { > Status =3D HandleResource (Private, MemberUri); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, process MemoryCollection resource: %= a > failed: %r\n", __FUNCTION__, UriData->Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, process MemoryCollection resource: %= a > failed: %r\n", __func__, UriData->Uri, Status)); > } >=20 > FreePool (MemberUri); > @@ -216,19 +216,19 @@ CreateCollectionResource ( > return EFI_INVALID_PARAMETER; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, create resource for collection for: > %s\n", __FUNCTION__, Private->CollectionUri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, create resource for collection for: > %s\n", __func__, Private->CollectionUri)); >=20 > Status =3D GetSupportedSchemaVersion (REDFISH_SCHEMA_NAME, > &SchemaInfo); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to find supported schema from HII > database: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to find supported schema from HII > database: %r\n", __func__, Status)); > return Status; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, supported schema: %a %a.%a.%a\n", > __FUNCTION__, SchemaInfo.Schema, SchemaInfo.Major, SchemaInfo.Minor, > SchemaInfo.Errata)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, supported schema: %a %a.%a.%a\n", > __func__, SchemaInfo.Schema, SchemaInfo.Major, SchemaInfo.Minor, > SchemaInfo.Errata)); >=20 > Status =3D EdkIIRedfishResourceConfigProvisionging (&SchemaInfo, Priva= te- > >CollectionUri, Private->InformationExchange, TRUE); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to create resoruce for: %s: %r\n", > __FUNCTION__, Private->CollectionUri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to create resoruce for: %s: %r\n", > __func__, Private->CollectionUri, Status)); > } >=20 > return Status; > @@ -283,14 +283,14 @@ CollectionHandler ( > return EFI_INVALID_PARAMETER; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, collection handler for %s\n", > __FUNCTION__, Private->CollectionUri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, collection handler for %s\n", __func= __, > Private->CollectionUri)); >=20 > // > // Query collection from Redfish service. > // > Status =3D GetResourceByUri (Private->RedfishService, Private->Collect= ionUri, > &Private->RedResponse); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, unable to get resource from: %s :%r\n", > __FUNCTION__, Private->CollectionUri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, unable to get resource from: %s :%r\n", > __func__, Private->CollectionUri, Status)); > goto ON_RELEASE; > } >=20 > @@ -368,7 +368,7 @@ RedfishCollectionFeatureCallback ( > // > ResourceUri =3D (EFI_STRING)AllocateZeroPool (MAX_URI_LENGTH * sizeof > (CHAR16)); > if (ResourceUri =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for full URI.\n", > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for full URI.\n", > __func__)); > return EFI_OUT_OF_RESOURCES; > } >=20 > @@ -386,7 +386,7 @@ RedfishCollectionFeatureCallback ( >=20 > Status =3D CollectionHandler (Private); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, CollectionHandler failure: %r\n", > __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, CollectionHandler failure: %r\n", __func__= , > Status)); > } >=20 > return EFI_SUCCESS; > @@ -492,7 +492,7 @@ EfiRestJasonStructureProtocolIsReady ( > (VOID **)&mRedfishCollectionPrivate->JsonStructProtoco= l > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __func__, Status)); > } >=20 > gBS->CloseEvent (Event); > @@ -528,7 +528,7 @@ EdkIIRedfishFeatureProtocolIsReady ( > (VOID **)&FeatureProtocol > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEdkIIRedfishFeatureProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEdkIIRedfishFeatureProtocolGuid: %r\n", __func__, Status)); > gBS->CloseEvent (Event); > return; > } > @@ -540,7 +540,7 @@ EdkIIRedfishFeatureProtocolIsReady ( > (VOID *)mRedfishCollectionPrivate > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to register %s: %r\n", __FUNCTION__= , > REDFISH_MANAGED_URI, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to register %s: %r\n", __func__, > REDFISH_MANAGED_URI, Status)); > } >=20 > mRedfishCollectionPrivate->FeatureProtocol =3D FeatureProtocol; > diff --git > a/RedfishClientPkg/Library/EdkIIRedfishResourceConfigLib/EdkIIRedfishReso= urce > ConfigLib.c > b/RedfishClientPkg/Library/EdkIIRedfishResourceConfigLib/EdkIIRedfishReso= urce > ConfigLib.c > index b1eaad756c..b5ef6e89b3 100644 > --- > a/RedfishClientPkg/Library/EdkIIRedfishResourceConfigLib/EdkIIRedfishReso= urce > ConfigLib.c > +++ > b/RedfishClientPkg/Library/EdkIIRedfishResourceConfigLib/EdkIIRedfishReso= urce > ConfigLib.c > @@ -57,7 +57,7 @@ GetRedfishSchemaInfo ( >=20 > Status =3D GetResourceByUri (RedfishService, Uri, &Response); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to get resource from %s: %r", > __FUNCTION__, Uri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to get resource from %s: %r", __fun= c__, > Uri, Status)); > return Status; > } >=20 > @@ -77,7 +77,7 @@ GetRedfishSchemaInfo ( > &Header > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __func__, Sta= tus)); > return Status; > } >=20 > @@ -384,7 +384,7 @@ EdkIIRedfishResourceSetConfigureLang ( > (VOID **)&Interface > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, > EDKII_REDFISH_FEATURE_INTERCHANGE_DATA_PROTOCOL is not installed %r", > __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, > EDKII_REDFISH_FEATURE_INTERCHANGE_DATA_PROTOCOL is not installed %r", > __func__, Status)); > return Status; > } >=20 > @@ -393,7 +393,7 @@ EdkIIRedfishResourceSetConfigureLang ( > Interface->ResourceInformationExchage- > >ReturnedInformation.ConfigureLanguageList.List =3D > AllocateZeroPool (sizeof (REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG) * > ConfigLangList->Count); > if (Interface->ResourceInformationExchage- > >ReturnedInformation.ConfigureLanguageList.List =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for > REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG.\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for > REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG.\n", __func__)); > return EFI_OUT_OF_RESOURCES; > } >=20 > diff --git a/RedfishClientPkg/Library/RedfishEventLib/RedfishEventLib.c > b/RedfishClientPkg/Library/RedfishEventLib/RedfishEventLib.c > index b2a3db7531..159251fec0 100644 > --- a/RedfishClientPkg/Library/RedfishEventLib/RedfishEventLib.c > +++ b/RedfishClientPkg/Library/RedfishEventLib/RedfishEventLib.c > @@ -100,7 +100,7 @@ SignalReadyToProvisioningEvent ( >=20 > Status =3D CreateReadyToProvisioningEvent (NULL, NULL, &Event); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to create after provisioning event\= n", > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, failed to create after provisioning event\= n", > __func__)); > return Status; > } >=20 > @@ -127,7 +127,7 @@ SignalAfterProvisioningEvent ( >=20 > Status =3D CreateAfterProvisioningEvent (NULL, NULL, &Event); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to create after provisioning event\= n", > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, failed to create after provisioning event\= n", > __func__)); > return Status; > } >=20 > diff --git > a/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtility= Lib.c > b/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtility= Lib.c > index b93a9e183f..00b6d70fed 100644 > --- > a/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtility= Lib.c > +++ > b/RedfishClientPkg/Library/RedfishFeatureUtilityLib/RedfishFeatureUtility= Lib.c > @@ -132,7 +132,7 @@ SetEtagWithUri ( >=20 > Status =3D RedfishLocateProtocol ((VOID **)&mEtagProtocol, > &gEdkIIRedfishETagProtocolGuid); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, fail to locate gEdkIIRedfishETagProtocolGu= id: > %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, fail to locate gEdkIIRedfishETagProtocolGu= id: > %r\n", __func__, Status)); > return Status; > } >=20 > @@ -174,7 +174,7 @@ GetEtagWithUri ( >=20 > Status =3D RedfishLocateProtocol ((VOID **)&mEtagProtocol, > &gEdkIIRedfishETagProtocolGuid); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, fail to locate gEdkIIRedfishETagProtocolGu= id: > %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, fail to locate gEdkIIRedfishETagProtocolGu= id: > %r\n", __func__, Status)); > return NULL; > } >=20 > @@ -305,10 +305,10 @@ ApplyFeatureSettingsStringType ( > // > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ng, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __FUNCTION__, > Schema, Version, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __func__, Schema, > Version, ConfigureLang, Status)); > } else { > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_STRING) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string type\n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string type\n", > __func__, Schema, Version, ConfigureLang)); > return EFI_DEVICE_ERROR; > } >=20 > @@ -316,17 +316,17 @@ ApplyFeatureSettingsStringType ( > // > // Apply settings from redfish > // > - DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s from %a to %a\n", > __FUNCTION__, Schema, Version, ConfigureLang, RedfishValue.Value.Buffer, > FeatureValue)); > + DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s from %a to %a\n", __func__= , > Schema, Version, ConfigureLang, RedfishValue.Value.Buffer, FeatureValue))= ; >=20 > FreePool (RedfishValue.Value.Buffer); > RedfishValue.Value.Buffer =3D FeatureValue; >=20 > Status =3D RedfishPlatformConfigSetValue (Schema, Version, Configu= reLang, > RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply %s to %s failed: %r\n", > __FUNCTION__, ConfigureLang, FeatureValue, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply %s to %s failed: %r\n", __func__= , > ConfigureLang, FeatureValue, Status)); > } > } else { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %s\n", __FUNCTION__, > Schema, Version, ConfigureLang, RedfishValue.Value.Buffer, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %s\n", __func__, Sche= ma, > Version, ConfigureLang, RedfishValue.Value.Buffer, Status)); > } > } >=20 > @@ -366,10 +366,10 @@ ApplyFeatureSettingsNumericType ( > // > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ng, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __FUNCTION__, > Schema, Version, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __func__, Schema, > Version, ConfigureLang, Status)); > } else { > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_INTEGER) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not numeric type\n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not numeric type\n", > __func__, Schema, Version, ConfigureLang)); > return EFI_DEVICE_ERROR; > } >=20 > @@ -377,16 +377,16 @@ ApplyFeatureSettingsNumericType ( > // > // Apply settings from redfish > // > - DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s from 0x%x to 0x%x\n", > __FUNCTION__, Schema, Version, ConfigureLang, RedfishValue.Value.Integer, > FeatureValue)); > + DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s from 0x%x to 0x%x\n", > __func__, Schema, Version, ConfigureLang, RedfishValue.Value.Integer, > FeatureValue)); >=20 > RedfishValue.Value.Integer =3D (INT64)FeatureValue; >=20 > Status =3D RedfishPlatformConfigSetValue (Schema, Version, Configu= reLang, > RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply %s to 0x%x failed: %r\n", > __FUNCTION__, ConfigureLang, FeatureValue, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply %s to 0x%x failed: %r\n", __func= __, > ConfigureLang, FeatureValue, Status)); > } > } else { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: 0x%x\n", __FUNCTION__= , > Schema, Version, ConfigureLang, RedfishValue.Value.Integer, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: 0x%x\n", __func__, > Schema, Version, ConfigureLang, RedfishValue.Value.Integer, Status)); > } > } >=20 > @@ -426,10 +426,10 @@ ApplyFeatureSettingsBooleanType ( > // > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ng, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __FUNCTION__, > Schema, Version, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __func__, Schema, > Version, ConfigureLang, Status)); > } else { > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_BOOLEAN) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not boolean type\n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not boolean type\n", > __func__, Schema, Version, ConfigureLang)); > return EFI_DEVICE_ERROR; > } >=20 > @@ -437,16 +437,16 @@ ApplyFeatureSettingsBooleanType ( > // > // Apply settings from redfish > // > - DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s from %a to %a\n", > __FUNCTION__, Schema, Version, ConfigureLang, (RedfishValue.Value.Boolean= ? > "True" : "False"), (FeatureValue ? "True" : "False"))); > + DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s from %a to %a\n", __func__= , > Schema, Version, ConfigureLang, (RedfishValue.Value.Boolean ? "True" : "F= alse"), > (FeatureValue ? "True" : "False"))); >=20 > RedfishValue.Value.Boolean =3D FeatureValue; >=20 > Status =3D RedfishPlatformConfigSetValue (Schema, Version, Configu= reLang, > RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply %s to %a failed: %r\n", > __FUNCTION__, ConfigureLang, (FeatureValue ? "True" : "False"), Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply %s to %a failed: %r\n", __func__= , > ConfigureLang, (FeatureValue ? "True" : "False"), Status)); > } > } else { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %a\n", __FUNCTION__, > Schema, Version, ConfigureLang, (RedfishValue.Value.Boolean ? "True" : "F= alse"), > Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is: %a\n", __func__, Sche= ma, > Version, ConfigureLang, (RedfishValue.Value.Boolean ? "True" : "False"), = Status)); > } > } >=20 > @@ -492,13 +492,13 @@ ApplyFeatureSettingsVagueType ( > ConfigureLangAscii =3D AllocatePool (StrLen (ConfigureLang) + 1); > if (ConfigureLangAscii =3D=3D NULL) { > Status =3D EFI_OUT_OF_RESOURCES; > - DEBUG ((DEBUG_ERROR, "%a, Allocate memory for generate ConfigureLang= of > vague key of %a.%a %s failed: %r\n", __FUNCTION__, Schema, Version, > ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, Allocate memory for generate ConfigureLang > of vague key of %a.%a %s failed: %r\n", __func__, Schema, Version, > ConfigureLang, Status)); > return Status; > } >=20 > Status =3D UnicodeStrToAsciiStrS (ConfigureLang, ConfigureLangAscii, S= trLen > (ConfigureLang) + 1); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, Convert the configureLang of vague key of > %a.%a %s failed: %r\n", __FUNCTION__, Schema, Version, ConfigureLang, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, Convert the configureLang of vague key of > %a.%a %s failed: %r\n", __func__, Schema, Version, ConfigureLang, Status)= ); > return Status; > } >=20 > @@ -512,7 +512,7 @@ ApplyFeatureSettingsVagueType ( > ConfigureLangKeyAscii =3D AllocateZeroPool (StrSize); > ConfigureKeyLang =3D AllocateZeroPool (StrSize * sizeof (CHAR16= )); > if ((ConfigureLangKeyAscii =3D=3D NULL) || (ConfigureKeyLang =3D=3D = NULL)) { > - DEBUG ((DEBUG_ERROR, "%a, Generate ConfigureLang of vague key of > %a.%a %s %a failed!\n", __FUNCTION__, Schema, Version, ConfigureLang, > CurrentVagueValuePtr->KeyNamePtr)); > + DEBUG ((DEBUG_ERROR, "%a, Generate ConfigureLang of vague key of > %a.%a %s %a failed!\n", __func__, Schema, Version, ConfigureLang, > CurrentVagueValuePtr->KeyNamePtr)); > goto ErrorContinue; > } >=20 > @@ -532,7 +532,7 @@ ApplyFeatureSettingsVagueType ( > } else if (CurrentVagueValuePtr->Value->DataType =3D=3D > RedfishCS_Vague_DataType_Int64) { > PropertyDatatype =3D REDFISH_VALUE_TYPE_INTEGER; > } else { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s Unsupported Redfish property da= ta > type\n", __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s Unsupported Redfish property da= ta > type\n", __func__, Schema, Version, ConfigureLang)); > goto ErrorContinue; > } >=20 > @@ -541,10 +541,10 @@ ApplyFeatureSettingsVagueType ( > // > Status =3D RedfishPlatformConfigGetValue (Schema, Version, Configure= KeyLang, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __FUNCTION__, > Schema, Version, ConfigureKeyLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __func__, Schema= , > Version, ConfigureKeyLang, Status)); > } else { > if (RedfishValue.Type !=3D PropertyDatatype) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s mismatched data type\n", > __FUNCTION__, Schema, Version, ConfigureKeyLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s mismatched data type\n", > __func__, Schema, Version, ConfigureKeyLang)); > goto ErrorContinue; > } >=20 > @@ -556,15 +556,15 @@ ApplyFeatureSettingsVagueType ( > // > // Apply settings from redfish > // > - DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s from %a to %a\n", > __FUNCTION__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Buffe= r, > CurrentVagueValuePtr->Value->DataValue.CharPtr)); > + DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s from %a to %a\n", __fu= nc__, > Schema, Version, ConfigureKeyLang, RedfishValue.Value.Buffer, > CurrentVagueValuePtr->Value->DataValue.CharPtr)); > FreePool (RedfishValue.Value.Buffer); > RedfishValue.Value.Buffer =3D CurrentVagueValuePtr->Value- > >DataValue.CharPtr; > Status =3D RedfishPlatformConfigSetValue (S= chema, Version, > ConfigureKeyLang, RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply %a to %a failed: %r\n", > __FUNCTION__, ConfigureKeyLang, CurrentVagueValuePtr->Value- > >DataValue.CharPtr, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply %a to %a failed: %r\n", __fu= nc__, > ConfigureKeyLang, CurrentVagueValuePtr->Value->DataValue.CharPtr, Status)= ); > } > } else { > - DEBUG ((DEBUG_INFO, "%a, %a.%a %s value is: %a\n", __FUNCTION_= _, > Schema, Version, ConfigureKeyLang, RedfishValue.Value.Buffer, Status)); > + DEBUG ((DEBUG_INFO, "%a, %a.%a %s value is: %a\n", __func__, S= chema, > Version, ConfigureKeyLang, RedfishValue.Value.Buffer, Status)); > } > } else if (PropertyDatatype =3D=3D REDFISH_VALUE_TYPE_BOOLEAN) { > // > @@ -577,7 +577,7 @@ ApplyFeatureSettingsVagueType ( > DEBUG (( > DEBUG_INFO, > "%a, %a.%a apply %s from %a to %a\n", > - __FUNCTION__, > + __func__, > Schema, > Version, > ConfigureKeyLang, > @@ -588,10 +588,10 @@ ApplyFeatureSettingsVagueType ( > RedfishValue.Value.Boolean =3D (BOOLEAN)*CurrentVagueValuePtr-= >Value- > >DataValue.BoolPtr; > Status =3D RedfishPlatformConfigSetValue (= Schema, Version, > ConfigureKeyLang, RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply %s to %a failed: %r\n", > __FUNCTION__, ConfigureKeyLang, (*CurrentVagueValuePtr->Value- > >DataValue.BoolPtr ? "True" : "False"), Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply %s to %a failed: %r\n", __fu= nc__, > ConfigureKeyLang, (*CurrentVagueValuePtr->Value->DataValue.BoolPtr ? "Tru= e" : > "False"), Status)); > } > } else { > - DEBUG ((DEBUG_INFO, "%a, %a.%a %s value is: %a\n", __FUNCTION_= _, > Schema, Version, ConfigureKeyLang, (RedfishValue.Value.Boolean ? "True" : > "False"), Status)); > + DEBUG ((DEBUG_INFO, "%a, %a.%a %s value is: %a\n", __func__, S= chema, > Version, ConfigureKeyLang, (RedfishValue.Value.Boolean ? "True" : "False"= ), > Status)); > } > } else if (PropertyDatatype =3D=3D REDFISH_VALUE_TYPE_INTEGER) { > // > @@ -601,18 +601,18 @@ ApplyFeatureSettingsVagueType ( > // > // Apply settings from redfish > // > - DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s from 0x%x to 0x%x\n", > __FUNCTION__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Integ= er, > *CurrentVagueValuePtr->Value->DataValue.Int64Ptr)); > + DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s from 0x%x to 0x%x\n", > __func__, Schema, Version, ConfigureKeyLang, RedfishValue.Value.Integer, > *CurrentVagueValuePtr->Value->DataValue.Int64Ptr)); >=20 > RedfishValue.Value.Integer =3D (INT64)*CurrentVagueValuePtr->V= alue- > >DataValue.Int64Ptr; > Status =3D RedfishPlatformConfigSetValue (= Schema, Version, > ConfigureKeyLang, RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply %s to 0x%x failed: %r\n", > __FUNCTION__, ConfigureKeyLang, *CurrentVagueValuePtr->Value- > >DataValue.Int64Ptr, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply %s to 0x%x failed: %r\n", __= func__, > ConfigureKeyLang, *CurrentVagueValuePtr->Value->DataValue.Int64Ptr, Statu= s)); > } > } else { > - DEBUG ((DEBUG_INFO, "%a, %a.%a %s value is: 0x%x\n", __FUNCTIO= N__, > Schema, Version, ConfigureKeyLang, RedfishValue.Value.Integer, Status)); > + DEBUG ((DEBUG_INFO, "%a, %a.%a %s value is: 0x%x\n", __func__, > Schema, Version, ConfigureKeyLang, RedfishValue.Value.Integer, Status)); > } > } else { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s Unsupported Redfish property > data type\n", __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s Unsupported Redfish property > data type\n", __func__, Schema, Version, ConfigureLang)); > goto ErrorContinue; > } > } > @@ -730,10 +730,10 @@ ApplyFeatureSettingsStringArrayType ( > // > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ng, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __FUNCTION__, > Schema, Version, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __func__, Schema, > Version, ConfigureLang, Status)); > } else { > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_STRING_ARRAY) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\= n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\= n", > __func__, Schema, Version, ConfigureLang)); > return EFI_DEVICE_ERROR; > } >=20 > @@ -744,7 +744,7 @@ ApplyFeatureSettingsStringArrayType ( > // > // Apply settings from redfish > // > - DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s for array\n", __FUNCTION__= , > Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s for array\n", __func__, > Schema, Version, ConfigureLang)); > FreeArrayTypeRedfishValue (&RedfishValue); >=20 > // > @@ -783,10 +783,10 @@ ApplyFeatureSettingsStringArrayType ( >=20 > Status =3D RedfishPlatformConfigSetValue (Schema, Version, Configu= reLang, > RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply %s array failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply %s array failed: %r\n", __func__= , > ConfigureLang, Status)); > } > } else { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s array value has no change\n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s array value has no change\n", > __func__, Schema, Version, ConfigureLang)); > } > } >=20 > @@ -828,10 +828,10 @@ ApplyFeatureSettingsNumericArrayType ( > // > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ng, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __FUNCTION__, > Schema, Version, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __func__, Schema, > Version, ConfigureLang, Status)); > } else { > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_INTEGER_ARRAY) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\= n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\= n", > __func__, Schema, Version, ConfigureLang)); > return EFI_DEVICE_ERROR; > } >=20 > @@ -842,7 +842,7 @@ ApplyFeatureSettingsNumericArrayType ( > // > // Apply settings from redfish > // > - DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s for array\n", __FUNCTION__= , > Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s for array\n", __func__, > Schema, Version, ConfigureLang)); > FreeArrayTypeRedfishValue (&RedfishValue); >=20 > // > @@ -876,10 +876,10 @@ ApplyFeatureSettingsNumericArrayType ( >=20 > Status =3D RedfishPlatformConfigSetValue (Schema, Version, Configu= reLang, > RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply %s array failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply %s array failed: %r\n", __func__= , > ConfigureLang, Status)); > } > } else { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s array value has no change\n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s array value has no change\n", > __func__, Schema, Version, ConfigureLang)); > } > } >=20 > @@ -921,10 +921,10 @@ ApplyFeatureSettingsBooleanArrayType ( > // > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ng, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __FUNCTION__, > Schema, Version, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s failed: %r\n", __func__, Schema, > Version, ConfigureLang, Status)); > } else { > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_BOOLEAN_ARRAY) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\= n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\= n", > __func__, Schema, Version, ConfigureLang)); > return EFI_DEVICE_ERROR; > } >=20 > @@ -935,7 +935,7 @@ ApplyFeatureSettingsBooleanArrayType ( > // > // Apply settings from redfish > // > - DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s for array\n", __FUNCTION__= , > Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_INFO, "%a, %a.%a apply %s for array\n", __func__, > Schema, Version, ConfigureLang)); > FreeArrayTypeRedfishValue (&RedfishValue); >=20 > // > @@ -969,10 +969,10 @@ ApplyFeatureSettingsBooleanArrayType ( >=20 > Status =3D RedfishPlatformConfigSetValue (Schema, Version, Configu= reLang, > RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, apply %s array failed: %r\n", > __FUNCTION__, ConfigureLang, Status)); > + DEBUG ((DEBUG_ERROR, "%a, apply %s array failed: %r\n", __func__= , > ConfigureLang, Status)); > } > } else { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s array value has no change\n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s array value has no change\n", > __func__, Schema, Version, ConfigureLang)); > } > } >=20 > @@ -1019,7 +1019,7 @@ GetResourceByUri ( > Response > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, RedfishGetByUri to %a failed: %r\n", > __FUNCTION__, AsciiResourceUri, Status)); > + DEBUG ((DEBUG_ERROR, "%a, RedfishGetByUri to %a failed: %r\n", __fun= c__, > AsciiResourceUri, Status)); > if (Response->Payload !=3D NULL) { > RedfishDumpPayload (Response->Payload); > RedfishFreeResponse ( > @@ -1298,7 +1298,7 @@ CopyConfiglanguageList ( > DestConfigureLangList->List =3D > (REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG *)AllocateZeroPool (sizeof > (REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG) * DestConfigureLangList- > >Count); > if (DestConfigureLangList->List =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for > REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG.\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for > REDFISH_FEATURE_ARRAY_TYPE_CONFIG_LANG.\n", __func__)); > return EFI_OUT_OF_RESOURCES; > } >=20 > @@ -1457,7 +1457,7 @@ SetResourceConfigLangMemberInstance ( > if (MaxtLengthConfigLang < MaxStrLength) { > NewConfigLang =3D (EFI_STRING)AllocateZeroPool (MaxStrLength); > if (NewConfigLang =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for > NewConfigLang.\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Fail to allocate memory for > NewConfigLang.\n", __func__)); > return EFI_OUT_OF_RESOURCES; > } > } > @@ -1540,7 +1540,7 @@ RedfishFeatureGetUnifiedArrayTypeConfigureLang ( >=20 > Status =3D RedfishPlatformConfigGetConfigureLang (Schema, Version, Pat= tern, > &ConfigureLangList, &Count); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, RedfishFeatureGetConfigureLangRegex failed= : > %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, RedfishFeatureGetConfigureLangRegex failed= : > %r\n", __func__, Status)); > return Status; > } >=20 > @@ -1745,7 +1745,7 @@ CreatePayloadToPatchResource ( > ResourceJsonValue =3D JsonLoadString (Json, 0, NULL); > Payload =3D RedfishCreatePayload (ResourceJsonValue, Service= ); > if (Payload =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a:%d Failed to create JSON payload from JSON > value!\n", __FUNCTION__, __LINE__)); > + DEBUG ((DEBUG_ERROR, "%a:%d Failed to create JSON payload from JSON > value!\n", __func__, __LINE__)); > Status =3D EFI_DEVICE_ERROR; > goto EXIT_FREE_JSON_VALUE; > } > @@ -1753,7 +1753,7 @@ CreatePayloadToPatchResource ( > ZeroMem (&PostResponse, sizeof (REDFISH_RESPONSE)); > Status =3D RedfishPatchToPayload (TargetPayload, Payload, &PostRespons= e); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a:%d Failed to PATCH payload to Redfish > service.\n", __FUNCTION__, __LINE__)); > + DEBUG ((DEBUG_ERROR, "%a:%d Failed to PATCH payload to Redfish > service.\n", __func__, __LINE__)); > goto EXIT_FREE_JSON_VALUE; > } >=20 > @@ -1817,7 +1817,7 @@ CreatePayloadToPostResource ( > ResourceJsonValue =3D JsonLoadString (Json, 0, NULL); > Payload =3D RedfishCreatePayload (ResourceJsonValue, Service= ); > if (Payload =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a:%d Failed to create JSON payload from JSON > value!\n", __FUNCTION__, __LINE__)); > + DEBUG ((DEBUG_ERROR, "%a:%d Failed to create JSON payload from JSON > value!\n", __func__, __LINE__)); > Status =3D EFI_DEVICE_ERROR; > goto EXIT_FREE_JSON_VALUE; > } > @@ -1825,7 +1825,7 @@ CreatePayloadToPostResource ( > ZeroMem (&PostResponse, sizeof (REDFISH_RESPONSE)); > Status =3D RedfishPostToPayload (TargetPayload, Payload, &PostResponse= ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a:%d Failed to POST Attribute Registry to Red= fish > service.\n", __FUNCTION__, __LINE__)); > + DEBUG ((DEBUG_ERROR, "%a:%d Failed to POST Attribute Registry to Red= fish > service.\n", __func__, __LINE__)); > goto EXIT_FREE_JSON_VALUE; > } >=20 > @@ -1880,11 +1880,11 @@ RedfishGetUri ( >=20 > Status =3D RedfishLocateProtocol ((VOID **)&mConfigLangMapProtocol, > &gEdkIIRedfishConfigLangMapProtocolGuid); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, fail to locate > gEdkIIRedfishConfigLangMapProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, fail to locate > gEdkIIRedfishConfigLangMapProtocolGuid: %r\n", __func__, Status)); > return NULL; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, Get: %s\n", __FUNCTION__, > ConfigLang)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, Get: %s\n", __func__, ConfigLang)); >=20 > CloseBracket =3D StrStr (ConfigLang, L"{"); > if (CloseBracket =3D=3D NULL) { > @@ -1925,7 +1925,7 @@ RedfishGetUri ( > // Invalid format. No '}' found > // > if (*Target =3D=3D '\0') { > - DEBUG ((DEBUG_ERROR, "%a, invalid format: %s\n", __FUNCTION__, > ConfigLang)); > + DEBUG ((DEBUG_ERROR, "%a, invalid format: %s\n", __func__, ConfigL= ang)); > return NULL; > } >=20 > @@ -1949,11 +1949,11 @@ RedfishGetUri ( > &Found > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, Can not find: %s\n", __FUNCTION__, > TempStr)); > + DEBUG ((DEBUG_ERROR, "%a, Can not find: %s\n", __func__, TempStr))= ; > return NULL; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, Found: %s\n", __FUNCTION__, > Found)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, Found: %s\n", __func__, Found)); >=20 > // > // Keep result in final string pool > @@ -1975,7 +1975,7 @@ RedfishGetUri ( > StrCatS (ResultStr, MAX_REDFISH_URL_LEN, Head); > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, return: %s\n", __FUNCTION__, > ResultStr)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, return: %s\n", __func__, ResultStr))= ; >=20 > return ResultStr; > } > @@ -2002,11 +2002,11 @@ RedfishGetConfigLanguage ( > return NULL; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, search config lang for URI: %s\n", > __FUNCTION__, Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, search config lang for URI: %s\n", > __func__, Uri)); >=20 > Status =3D RedfishLocateProtocol ((VOID **)&mConfigLangMapProtocol, > &gEdkIIRedfishConfigLangMapProtocolGuid); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, fail to locate > gEdkIIRedfishConfigLangMapProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, fail to locate > gEdkIIRedfishConfigLangMapProtocolGuid: %r\n", __func__, Status)); > return NULL; > } >=20 > @@ -2104,11 +2104,11 @@ RedfisSetRedfishUri ( >=20 > Status =3D RedfishLocateProtocol ((VOID **)&mConfigLangMapProtocol, > &gEdkIIRedfishConfigLangMapProtocolGuid); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, fail to locate > gEdkIIRedfishConfigLangMapProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, fail to locate > gEdkIIRedfishConfigLangMapProtocolGuid: %r\n", __func__, Status)); > return Status; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, Saved: %s -> %s\n", __FUNCTION__, > ConfigLang, Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, Saved: %s -> %s\n", __func__, > ConfigLang, Uri)); >=20 > return mConfigLangMapProtocol->Set (mConfigLangMapProtocol, ConfigLang= , > Uri); > } > @@ -2249,12 +2249,12 @@ GetPropertyStringValue ( > UnicodeSPrint (ConfigureLangBuffer, BufferSize, L"%s/%s", ConfigureLan= g, > PropertyName); > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ngBuffer, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __FUNCTION__, Schema, Version, ConfigureLangBuffer, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __func__, Schema, Version, ConfigureLangBuffer, Status)); > return NULL; > } >=20 > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_STRING) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string type\n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string type\n", > __func__, Schema, Version, ConfigureLang)); > return NULL; > } >=20 > @@ -2307,12 +2307,12 @@ GetPropertyNumericValue ( > UnicodeSPrint (ConfigureLangBuffer, BufferSize, L"%s/%s", ConfigureLan= g, > PropertyName); > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ngBuffer, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __FUNCTION__, Schema, Version, ConfigureLangBuffer, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __func__, Schema, Version, ConfigureLangBuffer, Status)); > return NULL; > } >=20 > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_INTEGER) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not numeric type\n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not numeric type\n", > __func__, Schema, Version, ConfigureLang)); > return NULL; > } >=20 > @@ -2369,12 +2369,12 @@ GetPropertyBooleanValue ( > UnicodeSPrint (ConfigureLangBuffer, BufferSize, L"%s/%s", ConfigureLan= g, > PropertyName); > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ngBuffer, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __FUNCTION__, Schema, Version, ConfigureLangBuffer, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __func__, Schema, Version, ConfigureLangBuffer, Status)); > return NULL; > } >=20 > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_BOOLEAN) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not boolean type\n", > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not boolean type\n", > __func__, Schema, Version, ConfigureLang)); > return NULL; > } >=20 > @@ -2463,25 +2463,25 @@ GetPropertyStringArrayValue ( > BufferSize =3D sizeof (CHAR16) * MAX_CONF_LANG_LEN; > ConfigureLangBuffer =3D AllocatePool (BufferSize); > if (ConfigureLangBuffer =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __func__)); > return NULL; > } >=20 > UnicodeSPrint (ConfigureLangBuffer, BufferSize, L"%s/%s", ConfigureLan= g, > PropertyName); > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ngBuffer, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __FUNCTION__, Schema, Version, ConfigureLangBuffer, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __func__, Schema, Version, ConfigureLangBuffer, Status)); > return NULL; > } >=20 > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_STRING_ARRAY) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\n"= , > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\n"= , > __func__, Schema, Version, ConfigureLang)); > return NULL; > } >=20 > StringArray =3D AllocatePool (sizeof (CHAR8 *) * RedfishValue.ArrayCou= nt); > if (StringArray =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __func__)); > return NULL; > } >=20 > @@ -2534,25 +2534,25 @@ GetPropertyNumericArrayValue ( > BufferSize =3D sizeof (CHAR16) * MAX_CONF_LANG_LEN; > ConfigureLangBuffer =3D AllocatePool (BufferSize); > if (ConfigureLangBuffer =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __func__)); > return NULL; > } >=20 > UnicodeSPrint (ConfigureLangBuffer, BufferSize, L"%s/%s", ConfigureLan= g, > PropertyName); > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ngBuffer, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __FUNCTION__, Schema, Version, ConfigureLangBuffer, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __func__, Schema, Version, ConfigureLangBuffer, Status)); > return NULL; > } >=20 > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_INTEGER_ARRAY) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\n"= , > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\n"= , > __func__, Schema, Version, ConfigureLang)); > return NULL; > } >=20 > IntegerArray =3D AllocatePool (sizeof (INT64) * RedfishValue.ArrayCoun= t); > if (IntegerArray =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __func__)); > return NULL; > } >=20 > @@ -2605,25 +2605,25 @@ GetPropertyBooleanArrayValue ( > BufferSize =3D sizeof (CHAR16) * MAX_CONF_LANG_LEN; > ConfigureLangBuffer =3D AllocatePool (BufferSize); > if (ConfigureLangBuffer =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __func__)); > return NULL; > } >=20 > UnicodeSPrint (ConfigureLangBuffer, BufferSize, L"%s/%s", ConfigureLan= g, > PropertyName); > Status =3D RedfishPlatformConfigGetValue (Schema, Version, ConfigureLa= ngBuffer, > &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __FUNCTION__, Schema, Version, ConfigureLangBuffer, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s failed: > %r\n", __func__, Schema, Version, ConfigureLangBuffer, Status)); > return NULL; > } >=20 > if (RedfishValue.Type !=3D REDFISH_VALUE_TYPE_BOOLEAN_ARRAY) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\n"= , > __FUNCTION__, Schema, Version, ConfigureLang)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a %s value is not string array type\n"= , > __func__, Schema, Version, ConfigureLang)); > return NULL; > } >=20 > BooleanArray =3D AllocatePool (sizeof (INT64) * RedfishValue.ArrayCoun= t); > if (BooleanArray =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, out of resource\n", __func__)); > return NULL; > } >=20 > @@ -2694,19 +2694,19 @@ NewEmptyPropKeyValueFromRedfishValue ( >=20 > KeyNameChar =3D StrUnicodeToAscii (KeyName); > if (KeyNameChar =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Failed to convert unicode to ASCII.\n", > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Failed to convert unicode to ASCII.\n", > __func__)); > return NULL; > } >=20 > EmptyPropKeyValue =3D (RedfishCS_EmptyProp_KeyValue *)AllocateZeroPool > (sizeof (RedfishCS_EmptyProp_KeyValue)); > if (EmptyPropKeyValue =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Failed to allocate memory for > EmptyPropKeyValue\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Failed to allocate memory for > EmptyPropKeyValue\n", __func__)); > return NULL; > } >=20 > VagueValue =3D (RedfishCS_Vague *)AllocateZeroPool (sizeof (RedfishCS_= Vague)); > if (VagueValue =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Failed to allocate memory for VagueValue\n= ", > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Failed to allocate memory for VagueValue\n= ", > __func__)); > FreePool (EmptyPropKeyValue); > return NULL; > } > @@ -2729,7 +2729,7 @@ NewEmptyPropKeyValueFromRedfishValue ( > DataSize =3D AsciiStrSize (RedfishValue->Value.Buffer); > Data =3D (VOID *)RedfishValue->Value.Buffer; > } else { > - DEBUG ((DEBUG_ERROR, "%a, wrong type of RedfishValue: %x\n", > __FUNCTION__, RedfishValue->Type)); > + DEBUG ((DEBUG_ERROR, "%a, wrong type of RedfishValue: %x\n", __func_= _, > RedfishValue->Type)); > FreePool (VagueValue); > FreePool (EmptyPropKeyValue); > return NULL; > @@ -2787,7 +2787,7 @@ GetPropertyVagueValue ( > BufferSize =3D sizeof (CHAR16) * MAX_CONF_LANG_LEN; > ConfigureLangBuffer =3D AllocatePool (BufferSize); > if (ConfigureLangBuffer =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Failed to allocate memory for > ConfigureLangBuffer\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Failed to allocate memory for > ConfigureLangBuffer\n", __func__)); > return NULL; > } >=20 > @@ -2799,7 +2799,7 @@ GetPropertyVagueValue ( > BufferSize =3D (StrLen (ConfigureLangBuffer) + StrLen (L"/.*") + 1)= * sizeof > (CHAR16); // Increase one for the NULL terminator. > SearchPattern =3D AllocatePool (BufferSize); > if (SearchPattern =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Failed to allocate memory for > SearchPattern\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Failed to allocate memory for > SearchPattern\n", __func__)); > FreePool (ConfigureLangBuffer); > return NULL; > } > @@ -2809,7 +2809,7 @@ GetPropertyVagueValue ( > StrCatS (SearchPattern, BufferSize, L"/.*"); > Status =3D RedfishPlatformConfigGetConfigureLang (Schema, Version, > SearchPattern, &ConfigureLangList, &ConfigListCount); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a Get configure language of vague type > values of %s failed: %r\n", __FUNCTION__, Schema, Version, > ConfigureLangBuffer, Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a Get configure language of vague type > values of %s failed: %r\n", __func__, Schema, Version, ConfigureLangBuffe= r, > Status)); > goto ErrorLeave; > } >=20 > @@ -2822,7 +2822,7 @@ GetPropertyVagueValue ( > while (ConfigListCountIndex < ConfigListCount) { > Status =3D RedfishPlatformConfigGetValue (Schema, Version, > ConfigureLangList[ConfigListCountIndex], &RedfishValue); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s faile= d: > %r\n", __FUNCTION__, Schema, Version, > ConfigureLangList[ConfigListCountIndex], Status)); > + DEBUG ((DEBUG_ERROR, "%a, %a.%a query current setting for %s faile= d: > %r\n", __func__, Schema, Version, ConfigureLangList[ConfigListCountIndex]= , > Status)); > goto ErrorLeave; > } >=20 > @@ -2835,7 +2835,7 @@ GetPropertyVagueValue ( > // > EmptyPropKeyValueList =3D NewEmptyPropKeyValueFromRedfishValue > (KeyName, &RedfishValue); > if (EmptyPropKeyValueList =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, Failed to create an entry of > EmptyPropKeyValueList\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, Failed to create an entry of > EmptyPropKeyValueList\n", __func__)); > ConfigListCountIndex++; > continue; > } > @@ -2940,7 +2940,7 @@ CheckEtag ( > EtagInDb =3D NULL; > EtagInDb =3D GetEtagWithUri (Uri); > if (EtagInDb =3D=3D NULL) { > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, no ETAG record cound be found for: > %s\n", __FUNCTION__, Uri)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, no ETAG record cound be found for: > %s\n", __func__, Uri)); > return FALSE; > } >=20 > diff --git > a/RedfishClientPkg/Library/RedfishResourceIdentifyLibComuterSystem/v1_5_0= /R > edfishResourceIdentifyLibComuterSystem.c > b/RedfishClientPkg/Library/RedfishResourceIdentifyLibComuterSystem/v1_5_0= /R > edfishResourceIdentifyLibComuterSystem.c > index a15809efe2..1e9c181aa6 100644 > --- > a/RedfishClientPkg/Library/RedfishResourceIdentifyLibComuterSystem/v1_5_0= /R > edfishResourceIdentifyLibComuterSystem.c > +++ > b/RedfishClientPkg/Library/RedfishResourceIdentifyLibComuterSystem/v1_5_0= /R > edfishResourceIdentifyLibComuterSystem.c > @@ -63,7 +63,7 @@ RedfishIdentifyResource ( > (EFI_REST_JSON_STRUCTURE_HEADER > **)&ComputerSystem > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __FUNCTION__, > Status)); > + DEBUG ((DEBUG_ERROR, "%a, ToStructure() failed: %r\n", __func__, Sta= tus)); > return FALSE; > } >=20 > @@ -75,17 +75,17 @@ RedfishIdentifyResource ( >=20 > Status =3D AsciiStrToGuid (ComputerSystemCs->UUID, &ResourceUuid); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, fail to get resource UUID: %r\n", > __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, fail to get resource UUID: %r\n", __func__= , > Status)); > return FALSE; > } >=20 > Status =3D NetLibGetSystemGuid (&SystemUuid); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, fail to get system UUID from SMBIOS: %r\n"= , > __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, fail to get system UUID from SMBIOS: %r\n"= , > __func__, Status)); > return FALSE; > } >=20 > - DEBUG ((REDFISH_DEBUG_TRACE, "%a, Identify: System: %g Resource: %g\n"= , > __FUNCTION__, &SystemUuid, &ResourceUuid)); > + DEBUG ((REDFISH_DEBUG_TRACE, "%a, Identify: System: %g Resource: %g\n"= , > __func__, &SystemUuid, &ResourceUuid)); > if (CompareGuid (&ResourceUuid, &SystemUuid)) { > Status =3D EFI_SUCCESS; > } else { > @@ -125,7 +125,7 @@ RestJasonStructureProtocolIsReady ( > (VOID **)&mJsonStructProtocol > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, failed to locate > gEfiRestJsonStructureProtocolGuid: %r\n", __func__, Status)); > } >=20 > gBS->CloseEvent (Event); > diff --git > a/RedfishClientPkg/Library/RedfishResourceIdentifyLibNull/RedfishResource= Iden > tifyLibNull.c > b/RedfishClientPkg/Library/RedfishResourceIdentifyLibNull/RedfishResource= Iden > tifyLibNull.c > index 42ee1a157d..6ff5397f4a 100644 > --- > a/RedfishClientPkg/Library/RedfishResourceIdentifyLibNull/RedfishResource= Iden > tifyLibNull.c > +++ > b/RedfishClientPkg/Library/RedfishResourceIdentifyLibNull/RedfishResource= Iden > tifyLibNull.c > @@ -30,7 +30,7 @@ RedfishIdentifyResource ( > ) > { > if (!IS_EMPTY_STRING (Uri)) { > - DEBUG ((DEBUG_VERBOSE, "%a, accept resource: %s\n", __FUNCTION__, > Uri)); > + DEBUG ((DEBUG_VERBOSE, "%a, accept resource: %s\n", __func__, Uri)); > } >=20 > return TRUE; > diff --git a/RedfishClientPkg/Library/RedfishVersionLib/RedfishVersionLib= .c > b/RedfishClientPkg/Library/RedfishVersionLib/RedfishVersionLib.c > index 1fd76d7f1c..45e156ca94 100644 > --- a/RedfishClientPkg/Library/RedfishVersionLib/RedfishVersionLib.c > +++ b/RedfishClientPkg/Library/RedfishVersionLib/RedfishVersionLib.c > @@ -111,7 +111,7 @@ RedfishGetVersion ( > &Response > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, RedfishGetByService to %a failed: %r\n", > __FUNCTION__, REDFISH_ROOT_URI, Status)); > + DEBUG ((DEBUG_ERROR, "%a, RedfishGetByService to %a failed: %r\n", > __func__, REDFISH_ROOT_URI, Status)); > if (Response.Payload !=3D NULL) { > RedfishDumpPayload (Response.Payload); > RedfishFreeResponse ( > diff --git a/RedfishClientPkg/PrivateLibrary/RedfishLib/RedfishLib.c > b/RedfishClientPkg/PrivateLibrary/RedfishLib/RedfishLib.c > index 2050d3b22d..87a9027c83 100644 > --- a/RedfishClientPkg/PrivateLibrary/RedfishLib/RedfishLib.c > +++ b/RedfishClientPkg/PrivateLibrary/RedfishLib/RedfishLib.c > @@ -919,7 +919,7 @@ RedfishIsValidOdataType ( > } > } >=20 > - DEBUG ((DEBUG_INFO, "%a: This Odata type is not in the list.\n", > __FUNCTION__)); > + DEBUG ((DEBUG_INFO, "%a: This Odata type is not in the list.\n", __fun= c__)); > return FALSE; > } >=20 > diff --git > a/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/service.c > b/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/service.c > index 9bcbfa10da..fce28fd2f6 100644 > --- a/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/servi= ce.c > +++ b/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/servi= ce.c > @@ -558,7 +558,7 @@ getUriFromServiceEx ( > // > Status =3D DecodeResponseContent (ContentEncodedHeader->FieldValue= , > &ResponseMsg.Body, &ResponseMsg.BodyLength); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a: Failed to decompress the response cont= ent > %r\n.", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a: Failed to decompress the response cont= ent > %r\n.", __func__, Status)); > ret =3D NULL; > goto ON_EXIT; > } > @@ -714,7 +714,7 @@ getUriFromService ( > // > Status =3D DecodeResponseContent (ContentEncodedHeader->FieldValue= , > &ResponseMsg.Body, &ResponseMsg.BodyLength); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a: Failed to decompress the response cont= ent > %r\n.", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a: Failed to decompress the response cont= ent > %r\n.", __func__, Status)); > ret =3D NULL; > goto ON_EXIT; > } > @@ -851,7 +851,7 @@ patchUriFromServiceEx ( > // > Status =3D EncodeRequestContent ((CHAR8 *)HTTP_CONTENT_ENCODING_GZIP, > (CHAR8 *)content, (VOID **)&EncodedContent, &EncodedContentLen); > if (Status =3D=3D EFI_INVALID_PARAMETER) { > - DEBUG ((DEBUG_ERROR, "%a: Error to encode content.\n", __FUNCTION__)= ); > + DEBUG ((DEBUG_ERROR, "%a: Error to encode content.\n", __func__)); > ret =3D NULL; > goto ON_EXIT; > } else if (Status =3D=3D EFI_UNSUPPORTED) { > @@ -1034,7 +1034,7 @@ patchUriFromService ( > // > Status =3D EncodeRequestContent ((CHAR8 *)HTTP_CONTENT_ENCODING_GZIP, > (CHAR8 *)content, (VOID **)&EncodedContent, &EncodedContentLen); > if (Status =3D=3D EFI_INVALID_PARAMETER) { > - DEBUG ((DEBUG_ERROR, "%a: Error to encode content.\n", __FUNCTION__)= ); > + DEBUG ((DEBUG_ERROR, "%a: Error to encode content.\n", __func__)); > ret =3D NULL; > goto ON_EXIT; > } else if (Status =3D=3D EFI_UNSUPPORTED) { > diff --git > a/RedfishClientPkg/RedfishConfigLangMapDxe/RedfishConfigLangMapDxe.c > b/RedfishClientPkg/RedfishConfigLangMapDxe/RedfishConfigLangMapDxe.c > index cea61f90a3..2c16b78280 100644 > --- a/RedfishClientPkg/RedfishConfigLangMapDxe/RedfishConfigLangMapDxe.c > +++ b/RedfishClientPkg/RedfishConfigLangMapDxe/RedfishConfigLangMapDxe.c > @@ -476,7 +476,7 @@ InitialConfigLangMapList ( > // > Seeker =3D StrStr (UriPointer, L"|"); > if (Seeker =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, data corrupted\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, data corrupted\n", __func__)); > Status =3D EFI_DEVICE_ERROR; > goto ON_ERROR; > } > @@ -489,7 +489,7 @@ InitialConfigLangMapList ( > // > Seeker =3D StrStr (ConfigLangPointer, L"\n"); > if (Seeker =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, data corrupted\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, data corrupted\n", __func__)); > Status =3D EFI_DEVICE_ERROR; > goto ON_ERROR; > } > @@ -636,7 +636,7 @@ RedfishConfigLangMapFlush ( >=20 > Status =3D SaveConfigLangMapList (&Private->ConfigLangList, Private- > >VariableName); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, save ConfigLangMap list to variable: %s fa= iled: > %r\n", __FUNCTION__, Private->VariableName, Status)); > + DEBUG ((DEBUG_ERROR, "%a, save ConfigLangMap list to variable: %s fa= iled: > %r\n", __func__, Private->VariableName, Status)); > } >=20 > return Status; > @@ -686,7 +686,7 @@ RedfishConfigLangMapDriverUnload ( > (VOID *)&mRedfishConfigLangMapPrivate->Protocol > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, can not uninstall > gEdkIIRedfishConfigLangMapProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, can not uninstall > gEdkIIRedfishConfigLangMapProtocolGuid: %r\n", __func__, Status)); > ASSERT (FALSE); > } >=20 > @@ -761,7 +761,7 @@ RedfishConfigLangMapDriverEntryPoint ( > (VOID *)&mRedfishConfigLangMapPrivate->Protocol > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, can not install > gEdkIIRedfishConfigLangMapProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, can not install > gEdkIIRedfishConfigLangMapProtocolGuid: %r\n", __func__, Status)); > ASSERT (FALSE); > goto ON_ERROR; > } > @@ -778,7 +778,7 @@ RedfishConfigLangMapDriverEntryPoint ( > &mRedfishConfigLangMapPrivate->ExitBootEvent > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a: Fail to register Exit Boot Service event."= , > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a: Fail to register Exit Boot Service event."= , > __func__)); > goto ON_ERROR; > } >=20 > @@ -787,7 +787,7 @@ RedfishConfigLangMapDriverEntryPoint ( > // > Status =3D InitialConfigLangMapList (&mRedfishConfigLangMapPrivate- > >ConfigLangList, mRedfishConfigLangMapPrivate->VariableName); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_INFO, "%a, Initial ConfigLangMap List: %r\n", > __FUNCTION__, Status)); > + DEBUG ((DEBUG_INFO, "%a, Initial ConfigLangMap List: %r\n", __func__= , > Status)); > } >=20 > // > diff --git a/RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c > b/RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c > index a4233a6494..7d611048e6 100644 > --- a/RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c > +++ b/RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c > @@ -463,7 +463,7 @@ InitialETagList ( > // > Seeker =3D AsciiStrStr (UriPointer, "|"); > if (Seeker =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, data corrupted\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, data corrupted\n", __func__)); > Status =3D EFI_DEVICE_ERROR; > goto ON_ERROR; > } > @@ -476,7 +476,7 @@ InitialETagList ( > // > Seeker =3D AsciiStrStr (ETagPointer, "\n"); > if (Seeker =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a, data corrupted\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a, data corrupted\n", __func__)); > Status =3D EFI_DEVICE_ERROR; > goto ON_ERROR; > } > @@ -612,7 +612,7 @@ RedfishETagFlush ( >=20 > Status =3D SaveETagList (&Private->ETagList, Private->VariableName); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, save ETag list to variable: %s failed: %r\= n", > __FUNCTION__, Private->VariableName, Status)); > + DEBUG ((DEBUG_ERROR, "%a, save ETag list to variable: %s failed: %r\= n", > __func__, Private->VariableName, Status)); > } >=20 > return Status; > @@ -662,7 +662,7 @@ RedfishETagDriverUnload ( > (VOID *)&mRedfishETagPrivate->Protocol > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, can not uninstall > gEdkIIRedfishETagProtocolGuid: %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, can not uninstall > gEdkIIRedfishETagProtocolGuid: %r\n", __func__, Status)); > ASSERT (FALSE); > } >=20 > @@ -733,7 +733,7 @@ RedfishETagDriverEntryPoint ( > (VOID *)&mRedfishETagPrivate->Protocol > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a, can not install gEdkIIRedfishETagProtocolG= uid: > %r\n", __FUNCTION__, Status)); > + DEBUG ((DEBUG_ERROR, "%a, can not install gEdkIIRedfishETagProtocolG= uid: > %r\n", __func__, Status)); > ASSERT (FALSE); > goto ON_ERROR; > } > @@ -750,7 +750,7 @@ RedfishETagDriverEntryPoint ( > &mRedfishETagPrivate->Event > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a: Fail to register Exit Boot Service event."= , > __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a: Fail to register Exit Boot Service event."= , > __func__)); > goto ON_ERROR; > } >=20 > @@ -759,7 +759,7 @@ RedfishETagDriverEntryPoint ( > // > Status =3D InitialETagList (&mRedfishETagPrivate->ETagList, mRedfishET= agPrivate- > >VariableName); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_INFO, "%a, Initial ETag List: %r\n", __FUNCTION__, Sta= tus)); > + DEBUG ((DEBUG_INFO, "%a, Initial ETag List: %r\n", __func__, Status)= ); > } >=20 > return EFI_SUCCESS; > diff --git a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe= .c > b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c > index 0e513b166c..b21015e814 100644 > --- a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c > +++ b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c > @@ -129,7 +129,7 @@ StartUpFeatureDriver ( >=20 > NextParentUri =3D (EFI_STRING)AllocateZeroPool (MaxParentUriLength * s= izeof > (CHAR16)); > if (NextParentUri =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a: Fail to allocate memory for parent configu= re > language.\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a: Fail to allocate memory for parent configu= re > language.\n", __func__)); > return; > } >=20 > @@ -152,7 +152,7 @@ StartUpFeatureDriver ( > } >=20 > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a: Callback to EDK2 Redfish feature drive= r fail: > %s.\n", __FUNCTION__, ThisList->InformationExchange- > >SendInformation.FullUri)); > + DEBUG ((DEBUG_ERROR, "%a: Callback to EDK2 Redfish feature drive= r fail: > %s.\n", __func__, ThisList->InformationExchange->SendInformation.FullUri)= ); > } > } >=20 > @@ -183,8 +183,8 @@ StartUpFeatureDriver ( >=20 > DestroyConfiglanguageList (&ConfigLangList); > } else { > - DEBUG ((DEBUG_ERROR, "%a: No > InformationTypeCollectionMemberConfigLanguage of %s returned.\n", > __FUNCTION__, ThisList->InformationExchange->SendInformation.FullUri)); > - DEBUG ((DEBUG_ERROR, "%a: Redfish service maybe not connected = or the > network has problems.\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a: No > InformationTypeCollectionMemberConfigLanguage of %s returned.\n", __func_= _, > ThisList->InformationExchange->SendInformation.FullUri)); > + DEBUG ((DEBUG_ERROR, "%a: Redfish service maybe not connected = or > the network has problems.\n", __func__)); > return; > } > } else { > @@ -254,7 +254,7 @@ RedfishFeatureDriverStartup ( > // > mInformationExchange =3D (RESOURCE_INFORMATION_EXCHANGE > *)AllocateZeroPool (sizeof (RESOURCE_INFORMATION_EXCHANGE)); > if (mInformationExchange =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a: Fail to allocate memory for exchange > information.\n", __FUNCTION__)); > + DEBUG ((DEBUG_ERROR, "%a: Fail to allocate memory for exchange > information.\n", __func__)); > return; > } >=20 > -- > 2.37.1.windows.1