From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 9E77AD80121 for ; Thu, 26 Oct 2023 23:54:10 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=yy/D0WNGAe5s9WGrM/mPu5icTFOTk+7eehO5NuPnJ+k=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1698364449; v=1; b=nncKwuXgcB05gwa8CKQZEecLRYFfmS6Ky74mYF2kGc+k/fUkNX9cFx727hPM0jWpeK8/bYl+ 9UV0v+xGNlIm+NBIB9ZELLExJP42kARwaKA3N9UXzTZ3uWfKwYw5oRQ1u0cN6wziNL2bQKLMSN2 rRlwiqqUK4k0GRoPtWgb0AQs= X-Received: by 127.0.0.2 with SMTP id eYJ1YY7687511xz8qBtB09dU; Thu, 26 Oct 2023 16:54:09 -0700 X-Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mx.groups.io with SMTP id smtpd.web10.215568.1698364447009582411 for ; Thu, 26 Oct 2023 16:54:07 -0700 X-Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-507962561adso2272021e87.0 for ; Thu, 26 Oct 2023 16:54:06 -0700 (PDT) X-Gm-Message-State: bLm7DLGUEUnPaKbSP93ZEPHAx7686176AA= X-Google-Smtp-Source: AGHT+IEZ9PAQxxvl3hGiBzDvpSClD9fwwFCL7dF1HNveZJjvmIKvv/92bgauxd8BsCwAHnAd315mDw== X-Received: by 2002:a05:6512:3b10:b0:507:9b70:1f0e with SMTP id f16-20020a0565123b1000b005079b701f0emr797394lfv.24.1698364445150; Thu, 26 Oct 2023 16:54:05 -0700 (PDT) X-Received: from localhost.localdomain ([79.164.221.98]) by smtp.gmail.com with ESMTPSA id u8-20020a056512040800b00507a8789b43sm39389lfk.269.2023.10.26.16.54.04 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 26 Oct 2023 16:54:04 -0700 (PDT) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: abner.chang@amd.com, nicklew@nvidia.com, igork@ami.com, Mike Maslenkin Subject: [edk2-devel] [edk2-redfish-client][PATCH v2 10/11] RedfishFeatureCoreDxe: replace __FUNCTION__ with __func__ Date: Fri, 27 Oct 2023 02:53:53 +0300 Message-Id: <20231026235354.67625-11-mike.maslenkin@gmail.com> In-Reply-To: <20231026235354.67625-1-mike.maslenkin@gmail.com> References: <20231026235354.67625-1-mike.maslenkin@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=nncKwuXg; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) Signed-off-by: Mike Maslenkin --- .../RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c= b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c index c19d4a46d6af..f71b12e4b5e0 100644 --- a/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c +++ b/RedfishClientPkg/RedfishFeatureCoreDxe/RedfishFeatureCoreDxe.c @@ -319,14 +319,14 @@ NewInternalInstance ( REDFISH_FEATURE_INTERNAL_DATA *NewInternalData;=0D =0D if ((PtrToNewInternalData =3D=3D NULL) || (NodeName =3D=3D NULL)) {=0D - DEBUG ((DEBUG_ERROR, "%a: Inproper given parameters\n", __FUNCTION__))= ;=0D + DEBUG ((DEBUG_ERROR, "%a: Inproper given parameters\n", __func__));=0D return EFI_INVALID_PARAMETER;=0D }=0D =0D *PtrToNewInternalData =3D NULL;=0D NewInternalData =3D AllocateZeroPool (sizeof (REDFISH_FEATURE_INTE= RNAL_DATA));=0D if (NewInternalData =3D=3D NULL) {=0D - DEBUG ((DEBUG_ERROR, "%a: No memory for REDFISH_FEATURE_INTERNAL_DATA\= n", __FUNCTION__));=0D + DEBUG ((DEBUG_ERROR, "%a: No memory for REDFISH_FEATURE_INTERNAL_DATA\= n", __func__));=0D return EFI_OUT_OF_RESOURCES;=0D }=0D =0D @@ -377,12 +377,12 @@ InsertRedfishFeatureUriNode ( =0D *MatchNodeEntry =3D NULL;=0D if (NodeName =3D=3D NULL) {=0D - DEBUG ((DEBUG_ERROR, "%a: Node name is NULL.\n", __FUNCTION__));=0D + DEBUG ((DEBUG_ERROR, "%a: Node name is NULL.\n", __func__));=0D return EFI_INVALID_PARAMETER;=0D }=0D =0D if (NextNodeEntry =3D=3D NULL) {=0D - DEBUG ((DEBUG_ERROR, "%a: NextNodeEntry can't be NULL.\n", __FUNCTION_= _));=0D + DEBUG ((DEBUG_ERROR, "%a: NextNodeEntry can't be NULL.\n", __func__));= =0D return EFI_INVALID_PARAMETER;=0D }=0D =0D @@ -487,7 +487,7 @@ RedfishFeatureRegister ( BOOLEAN ItsCollection;=0D =0D if ((FeatureManagedUri =3D=3D NULL) || (Callback =3D=3D NULL)) {=0D - DEBUG ((DEBUG_ERROR, "%a: The given parameter is invalid\n", __FUNCTIO= N__));=0D + DEBUG ((DEBUG_ERROR, "%a: The given parameter is invalid\n", __func__)= );=0D return EFI_INVALID_PARAMETER;=0D }=0D =0D @@ -503,7 +503,7 @@ RedfishFeatureRegister ( while ((Index < UriLength)) {=0D if ((Index - AnchorIndex + 1) >=3D MaxNodeNameLength) {=0D // Increase one for the NULL terminator=0D - DEBUG ((DEBUG_ERROR, "%a: the length of node name is >=3D MaxNodeNam= eLength\n", __FUNCTION__));=0D + DEBUG ((DEBUG_ERROR, "%a: the length of node name is >=3D MaxNodeNam= eLength\n", __func__));=0D ASSERT (FALSE);=0D }=0D =0D @@ -568,7 +568,7 @@ RedfishFeatureRegister ( //=0D // No URI node was created=0D //=0D - DEBUG ((DEBUG_ERROR, "%a: No URI node is added\n", __FUNCTION__));=0D + DEBUG ((DEBUG_ERROR, "%a: No URI node is added\n", __func__));=0D return EFI_INVALID_PARAMETER;=0D }=0D =0D --=20 2.32.0 (Apple Git-132) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110155): https://edk2.groups.io/g/devel/message/110155 Mute This Topic: https://groups.io/mt/102211779/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-