summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@bsdio.com>2023-04-06 13:49:10 -0600
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-04-10 14:19:57 +0000
commit089013a69724687f4051fc88367c9eb74def4284 (patch)
treec882324d96db9b5aac93679db07db9ee254cd59a /UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c
parent1639b6bf074c2ee694473d849e1dfa2028f78eab (diff)
downloadedk2-089013a69724687f4051fc88367c9eb74def4284.tar.gz
edk2-089013a69724687f4051fc88367c9eb74def4284.tar.bz2
edk2-089013a69724687f4051fc88367c9eb74def4284.zip
UefiCpuPkg: Update code to be more C11 compliant by using __func__
__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 UefiCpuPkg. Signed-off-by: Rebecca Cran <rebecca@bsdio.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Diffstat (limited to 'UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c')
-rw-r--r--UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c b/UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c
index 59a5d932ee..86ce5303ca 100644
--- a/UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c
+++ b/UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c
@@ -127,7 +127,7 @@ CpuS3DataOnEndOfDxe (
);
ASSERT_EFI_ERROR (Status);
- DEBUG ((DEBUG_VERBOSE, "%a\n", __FUNCTION__));
+ DEBUG ((DEBUG_VERBOSE, "%a\n", __func__));
MtrrGetAllMtrrs (&AcpiCpuDataEx->MtrrTable);
//