From nobody Tue Feb 10 12:42:42 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+102639+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+102639+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1680819850; cv=none; d=zohomail.com; s=zohoarc; b=hnCrp0+Q30kSHoQk48+3oudtER/ZAcOuSOvY/rDG58E8ptnNCFVT2SUAKZJ4JVhQwc74duvcgdsFozpYtqMeSFfiGyUMUtOOC0e6dcprnJbJETaXLJRDVNcpgAD5DiipPMnauXGUJSc3bDfWkowteihz8GU+vV4pdcBdMq1c7mE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680819850; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=+4ez2f1dGXI1ErHbw0D4kz9gGX7ekTfPuGGSki2UiyQ=; b=jhOSSnBapcK+y27dKwkvwrR2vGKSwE3Z9brpLaNXANtDHb8G1DDZ7cOSMBs5nSI28UYMW7FlPNVCGneZW5uqbSkXJBNbKHUg6B49dvhTc3pfuTm3XAbzfFoN2ysgbHj5doa5D9w43eUHDsa/1IkA//C4Vww0oh0UQTPjgV6LKDA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+102639+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1680819850397680.8287096516598; Thu, 6 Apr 2023 15:24:10 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id W36PYY1788612x7d8JgMPzis; Thu, 06 Apr 2023 15:24:09 -0700 X-Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mx.groups.io with SMTP id smtpd.web11.171747.1680819849151424698 for ; Thu, 06 Apr 2023 15:24:09 -0700 X-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 7C5F55C01EA; Thu, 6 Apr 2023 18:24:08 -0400 (EDT) X-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 06 Apr 2023 18:24:08 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdejgedgtdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 6 Apr 2023 18:24:05 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Liming Gao , Michael D Kinney , Guomin Jiang , Wei6 Xu , Guo Dong , Ray Ni , Sean Rhodes , James Lu , Gua Guo , Andrew Fish , Hao A Wu , Maciej Rabeda , Siyuan Fu , Jiewen Yao , Jian J Wang , Xiaoyu Lu , Ard Biesheuvel , Sami Mujawar , Supreeth Venkatesh , Michael Kubacki , Nate DeSimone , Sean Brogan Cc: Rebecca Cran , Leif Lindholm , Abner Chang , Nickle Wang , Igor Kulchytskyy , Daniel Schaefer , Min Xu , Jordan Justen , Gerd Hoffmann , Peter Grehan , Erdem Aktas , James Bottomley , Tom Lendacky , Michael Roth , Sunil V L , Andrei Warkentin Subject: [edk2-devel] [PATCH 09/18] ArmPlatformPkg: Update code to be more C11 compliant by using __func__ Date: Thu, 6 Apr 2023 16:23:10 -0600 Message-Id: <20230406222319.2281263-10-rebecca@bsdio.com> In-Reply-To: <20230406222319.2281263-1-rebecca@bsdio.com> References: <20230406222319.2281263-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@bsdio.com X-Gm-Message-State: q7hHBxTTqU8BuFp19Z2fECxQx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1680819849; bh=kDuMxmFm2Ow8QZ+QIE5Wvdpbxsvu/ItpASXPxI7lKjQ=; h=Cc:Date:From:Reply-To:Subject:To; b=nFoGoBQTcQlmKQluz3MvAj9+HyOL1pOMF3d4QphY2PjJZGuD1THgC4JHfiGOIG01hKQ qJiCjcCNEGNc527WCDHGd/lJxVfjc8eXacQ+dIR33L/VUXr/K0dkjxFoG57hyl/It5o1+ nMYSOx8eIXcZn0A1TUqmIeYjxCIbquix6yk= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1680819852376100003 Content-Type: text/plain; charset="utf-8" __FUNCTION__ is a pre-standard extension that gcc and Visual C++ among others support, while __func__ was standardized in C99. Since it's more standard, replace __FUNCTION__ with __func__ throughout ArmPlatformPkg. Visual Studio versions before VS 2015 don't support __func__ and so will fail to compile. A workaround is to define __func__ as __FUNCTION__ : #define __func__ __FUNCTION__ Signed-off-by: Rebecca Cran --- ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c b/ArmP= latformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c index 5821dc195822..b8e7fbe38d77 100644 --- a/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c +++ b/ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c @@ -397,7 +397,7 @@ SP805Initialize ( DEBUG (( DEBUG_ERROR, "%a: failed to register watchdog interrupt - %r\n", - __FUNCTION__, + __func__, Status )); return Status; @@ -406,7 +406,7 @@ SP805Initialize ( DEBUG (( DEBUG_WARN, "%a: no interrupt specified, running in RESET mode only\n", - __FUNCTION__ + __func__ )); } =20 --=20 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#102639): https://edk2.groups.io/g/devel/message/102639 Mute This Topic: https://groups.io/mt/98115245/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-