diff options
author | Rebecca Cran <rebecca@bsdio.com> | 2023-04-06 13:49:10 -0600 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-04-10 14:19:57 +0000 |
commit | 089013a69724687f4051fc88367c9eb74def4284 (patch) | |
tree | c882324d96db9b5aac93679db07db9ee254cd59a /UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | |
parent | 1639b6bf074c2ee694473d849e1dfa2028f78eab (diff) | |
download | edk2-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/Universal/Acpi/S3Resume2Pei/S3Resume.c')
-rw-r--r-- | UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c index e82f179569..9ea5f6f4e5 100644 --- a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c +++ b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c @@ -509,7 +509,7 @@ S3ResumeBootOs ( DEBUG ((
DEBUG_INFO,
"%a() Stack Base: 0x%x, Stack Size: 0x%x\n",
- __FUNCTION__,
+ __func__,
TempStackTop,
sizeof (TempStack)
));
|