[edk2-devel] [PATCH 00/18] Replace pre-standard macro __FUNCTION__ with C99 __func__ throughout edk2

Rebecca Cran posted 18 patches 1 year ago
Failed in applying to current master (apply log)
ArmPkg/Drivers/ArmGic/ArmGicCommonDxe.c                                                                      |  4 +-
ArmPkg/Drivers/CpuDxe/MemoryAttribute.c                                                                      | 10 +--
ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c                                                             |  4 +-
ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.c                                                 |  2 +-
ArmPkg/Library/LinuxBootBootManagerLib/LinuxBootBm.c                                                         |  2 +-
ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c                                                           | 32 +++++-----
ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c                                             |  2 +-
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type00/MiscBiosVendorFunction.c                                        |  2 +-
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c                                |  2 +-
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturerFunction.c                             |  2 +-
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufacturerFunction.c                               |  2 +-
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInstallableLanguagesFunction.c                      |  2 +-
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type32/MiscBootInformationFunction.c                                   |  2 +-
ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c                                                      |  4 +-
ArmVirtPkg/CloudHvAcpiPlatformDxe/CloudHvAcpi.c                                                              |  4 +-
ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.c                                                     |  2 +-
ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c                                       |  4 +-
ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c                                     |  6 +-
ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.c                               |  6 +-
ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMemInfoLib.c                                             | 10 +--
ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.c                                           |  4 +-
ArmVirtPkg/Library/KvmtoolVirtMemInfoLib/KvmtoolVirtMemInfoLib.c                                             |  2 +-
ArmVirtPkg/Library/NorFlashKvmtoolLib/NorFlashKvmtool.c                                                      |  4 +-
ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.c                                                         |  2 +-
ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c                                                       | 20 +++---
ArmVirtPkg/Library/PlatformBootManagerLib/QemuKernel.c                                                       |  2 +-
ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.c                                                           |  6 +-
ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoLib.c                                                   |  4 +-
ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLibConstructor.c                                     |  4 +-
ArmVirtPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.c                                                           |  4 +-
ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.c                                                                         |  4 +-
CryptoPkg/Library/TlsLib/TlsConfig.c                                                                         |  8 +--
CryptoPkg/Library/TlsLib/TlsProcess.c                                                                        |  4 +-
EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c                                                          | 18 +++---
EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c                                                            | 10 +--
EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.c                                                              | 22 +++----
EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.c                                                    |  2 +-
EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c                                                          |  2 +-
EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c                                                             | 20 +++---
EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c                        |  2 +-
EmulatorPkg/Win/Host/WinPacketFilter.c                                                                       |  2 +-
FmpDevicePkg/FmpDxe/VariableSupport.c                                                                        |  2 +-
MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c                                                                      | 38 ++++++------
MdeModulePkg/Bus/Ata/AhciPei/AhciPei.c                                                                       | 18 +++---
MdeModulePkg/Bus/Ata/AhciPei/AhciPeiBlockIo.c                                                                |  2 +-
MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c                                                                          |  2 +-
MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c                                                                     |  4 +-
MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c                                |  2 +-
MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c                                                       |  8 +--
MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPei.c                                                           | 36 +++++------
MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiBlockIo.c                                                    |  6 +-
MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c                                                        | 34 +++++------
MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiPassThru.c                                                   | 24 ++++----
MdeModulePkg/Bus/Pci/PciBusDxe/PciCommand.c                                                                  |  2 +-
MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridge.c                                                        | 14 ++---
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.c                                                           |  6 +-
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c                                                             | 12 ++--
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c                                                                          |  2 +-
MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c                                                                     |  4 +-
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c                                                                 |  6 +-
MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c                                                                |  2 +-
MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c                                                                      |  2 +-
MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c                                                                |  6 +-
MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c                                              |  2 +-
MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c                                                              |  4 +-
MdeModulePkg/Core/DxeIplPeim/RiscV64/DxeLoadFunc.c                                                           |  4 +-
MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c                                                                |  2 +-
MdeModulePkg/Core/Pei/FwVol/FwVol.c                                                                          |  2 +-
MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleReportLib.c                                                  |  2 +-
MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c                                                   |  2 +-
MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c                                                          |  2 +-
MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c                                                             |  2 +-
MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c                                                     |  2 +-
MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.c                                                   | 22 +++----
MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c                                                   |  6 +-
MdeModulePkg/Universal/CapsulePei/UefiCapsule.c                                                              |  8 +--
MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c                                                             |  2 +-
MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c                                                               | 10 +--
MdeModulePkg/Universal/Disk/UdfDxe/File.c                                                                    |  2 +-
MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c                                                    |  2 +-
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.c                                            |  6 +-
MdeModulePkg/Universal/FaultTolerantWriteDxe/FtwMisc.c                                                       |  2 +-
MdeModulePkg/Universal/PCD/Dxe/Service.c                                                                     |  2 +-
MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c                                                                 |  4 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockDxe.c                                                   |  6 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c                                                   |  6 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c                                                        |  6 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableLockRequestToLock.c                                       |  4 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/VariablePolicySmmDxe.c                                            | 20 +++---
NetworkPkg/HttpDxe/HttpsSupport.c                                                                            | 16 ++---
NetworkPkg/IScsiDxe/IScsiMisc.c                                                                              |  4 +-
OvmfPkg/AcpiPlatformDxe/BootScript.c                                                                         |  4 +-
OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c                                                                        |  4 +-
OvmfPkg/AcpiPlatformDxe/EntryPoint.c                                                                         |  8 +--
OvmfPkg/AcpiPlatformDxe/PciDecoding.c                                                                        | 10 +--
OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c                                                                      | 64 ++++++++++----------
OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierSevHashes.c                                              | 18 +++---
OvmfPkg/AmdSevDxe/AmdSevDxe.c                                                                                |  2 +-
OvmfPkg/Bhyve/AcpiPlatformDxe/EntryPoint.c                                                                   |  8 +--
OvmfPkg/Bhyve/AcpiPlatformDxe/PciDecoding.c                                                                  | 10 +--
OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.c                                                                          |  6 +-
OvmfPkg/Bhyve/PlatformPei/ClearCache.c                                                                       |  6 +-
OvmfPkg/Bhyve/PlatformPei/MemDetect.c                                                                        | 12 ++--
OvmfPkg/Bhyve/PlatformPei/Platform.c                                                                         | 10 +--
OvmfPkg/CpuHotplugSmm/CpuHotplug.c                                                                           | 40 ++++++------
OvmfPkg/CpuHotplugSmm/QemuCpuhp.c                                                                            | 32 +++++-----
OvmfPkg/CpuHotplugSmm/Smbase.c                                                                               | 10 +--
OvmfPkg/CpuS3DataDxe/CpuS3Data.c                                                                             |  2 +-
OvmfPkg/Csm/CsmSupportLib/LegacyInterrupt.c                                                                  |  2 +-
OvmfPkg/Csm/CsmSupportLib/LegacyRegion.c                                                                     |  2 +-
OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c                                                                |  2 +-
OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c                                                        | 28 ++++-----
OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.c                                                      |  4 +-
OvmfPkg/Fdt/HighMemDxe/HighMemDxe.c                                                                          | 10 +--
OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.c                                                                      | 10 +--
OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c                                       |  2 +-
OvmfPkg/IoMmuDxe/CcIoMmu.c                                                                                   | 18 +++---
OvmfPkg/IoMmuDxe/IoMmuBuffer.c                                                                               |  8 +--
OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.c                                                              |  2 +-
OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.c                                                           |  4 +-
OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c                                                               |  2 +-
OvmfPkg/Library/BaseMemEncryptSevLib/X64/PeiDxeVirtualMemory.c                                               | 22 +++----
OvmfPkg/Library/BaseMemEncryptSevLib/X64/SnpPageStateChangeInternal.c                                        |  4 +-
OvmfPkg/Library/BaseMemEncryptTdxLib/MemoryEncryption.c                                                      | 26 ++++----
OvmfPkg/Library/BasePciCapLib/BasePciCapLib.c                                                                |  4 +-
OvmfPkg/Library/CcExitLib/CcExitVeHandler.c                                                                  | 18 +++---
OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.c                                            |  6 +-
OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c                                                            |  2 +-
OvmfPkg/Library/LockBoxLib/LockBoxLib.c                                                                      | 10 +--
OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.c                                            | 22 +++----
OvmfPkg/Library/PeilessStartupLib/X64/VirtualMemory.c                                                        |  2 +-
OvmfPkg/Library/PlatformBmPrintScLib/StatusCodeHandler.c                                                     | 12 ++--
OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c                                                         | 12 ++--
OvmfPkg/Library/PlatformBootManagerLib/QemuKernel.c                                                          |  2 +-
OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.c                                                    | 10 +--
OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.c                                                     | 10 +--
OvmfPkg/Library/PlatformBootManagerLibGrub/QemuKernel.c                                                      |  2 +-
OvmfPkg/Library/PlatformInitLib/MemDetect.c                                                                  | 28 ++++-----
OvmfPkg/Library/PlatformInitLib/Platform.c                                                                   | 20 +++---
OvmfPkg/Library/QemuBootOrderLib/ExtraRootBusMap.c                                                           |  2 +-
OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.c                                                          | 42 ++++++-------
OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxe.c                                                                  | 18 +++---
OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmio.c                                                              |  2 +-
OvmfPkg/Library/QemuFwCfgS3Lib/QemuFwCfgS3Dxe.c                                                              | 34 +++++------
OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c                                                    |  8 +--
OvmfPkg/Library/ResetSystemLib/ResetSystemLibMicrovm.c                                                       |  8 +--
OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.c                                                |  4 +-
OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c                                                    |  4 +-
OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c                                                        |  4 +-
OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.c                                                          | 24 ++++----
OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDevice.c                                                       |  4 +-
OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c                                                    |  8 +--
OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.c                                                                  |  4 +-
OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.c                                      |  2 +-
OvmfPkg/LsiScsiDxe/LsiScsi.c                                                                                 |  4 +-
OvmfPkg/MptScsiDxe/MptScsi.c                                                                                 | 10 +--
OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.c                                                                   |  6 +-
OvmfPkg/PlatformDxe/Platform.c                                                                               | 14 ++---
OvmfPkg/PlatformPei/ClearCache.c                                                                             |  6 +-
OvmfPkg/PlatformPei/FeatureControl.c                                                                         |  6 +-
OvmfPkg/PlatformPei/MemDetect.c                                                                              | 12 ++--
OvmfPkg/PlatformPei/MemTypeInfo.c                                                                            | 10 +--
OvmfPkg/PlatformPei/Platform.c                                                                               | 18 +++---
OvmfPkg/PvScsiDxe/PvScsi.c                                                                                   |  4 +-
OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.c                                                        | 12 ++--
OvmfPkg/QemuRamfbDxe/QemuRamfb.c                                                                             |  2 +-
OvmfPkg/QemuVideoDxe/Gop.c                                                                                   |  2 +-
OvmfPkg/QemuVideoDxe/Initialize.c                                                                            | 14 ++---
OvmfPkg/QemuVideoDxe/VbeShim.c                                                                               | 12 ++--
OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c                                                | 20 +++---
OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/QemuKernel.c                                                |  2 +-
OvmfPkg/RiscVVirt/Library/PrePiHobListPointerLib/PrePiHobListPointer.c                                       |  4 +-
OvmfPkg/RiscVVirt/Sec/Memory.c                                                                               | 10 +--
OvmfPkg/RiscVVirt/Sec/Platform.c                                                                             | 12 ++--
OvmfPkg/RiscVVirt/Sec/SecMain.c                                                                              |  2 +-
OvmfPkg/Sec/SecMain.c                                                                                        |  2 +-
OvmfPkg/SmmAccess/SmmAccessPei.c                                                                             |  6 +-
OvmfPkg/SmmControl2Dxe/SmiFeatures.c                                                                         | 22 +++----
OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.c                                                                      | 18 +++---
OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c                                                                      |  8 +--
OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPeim.c                                                     |  6 +-
OvmfPkg/TdxDxe/TdxAcpiTable.c                                                                                |  2 +-
OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.c                                                                    |  4 +-
OvmfPkg/VirtNorFlashDxe/VirtNorFlashFvb.c                                                                    | 22 +++----
OvmfPkg/VirtioBlkDxe/VirtioBlk.c                                                                             |  8 +--
OvmfPkg/VirtioFsDxe/FuseFlush.c                                                                              |  2 +-
OvmfPkg/VirtioFsDxe/FuseFsync.c                                                                              |  2 +-
OvmfPkg/VirtioFsDxe/FuseGetAttr.c                                                                            |  2 +-
OvmfPkg/VirtioFsDxe/FuseInit.c                                                                               |  2 +-
OvmfPkg/VirtioFsDxe/FuseLookup.c                                                                             |  2 +-
OvmfPkg/VirtioFsDxe/FuseMkDir.c                                                                              |  2 +-
OvmfPkg/VirtioFsDxe/FuseOpen.c                                                                               |  2 +-
OvmfPkg/VirtioFsDxe/FuseOpenDir.c                                                                            |  2 +-
OvmfPkg/VirtioFsDxe/FuseOpenOrCreate.c                                                                       |  2 +-
OvmfPkg/VirtioFsDxe/FuseRead.c                                                                               |  2 +-
OvmfPkg/VirtioFsDxe/FuseRelease.c                                                                            |  2 +-
OvmfPkg/VirtioFsDxe/FuseRename.c                                                                             |  2 +-
OvmfPkg/VirtioFsDxe/FuseSetAttr.c                                                                            |  2 +-
OvmfPkg/VirtioFsDxe/FuseStatFs.c                                                                             |  2 +-
OvmfPkg/VirtioFsDxe/FuseUnlink.c                                                                             |  2 +-
OvmfPkg/VirtioFsDxe/FuseWrite.c                                                                              |  2 +-
OvmfPkg/VirtioFsDxe/Helpers.c                                                                                |  2 +-
OvmfPkg/VirtioFsDxe/SimpleFsOpen.c                                                                           |  4 +-
OvmfPkg/VirtioGpuDxe/Commands.c                                                                              |  6 +-
OvmfPkg/VirtioGpuDxe/DriverBinding.c                                                                         |  8 +--
OvmfPkg/VirtioGpuDxe/Gop.c                                                                                   |  2 +-
OvmfPkg/VirtioNetDxe/Events.c                                                                                |  2 +-
OvmfPkg/VirtioRngDxe/VirtioRng.c                                                                             |  2 +-
OvmfPkg/VirtioScsiDxe/VirtioScsi.c                                                                           |  2 +-
OvmfPkg/XenAcpiPlatformDxe/Xen.c                                                                             |  2 +-
OvmfPkg/XenPlatformPei/ClearCache.c                                                                          |  6 +-
OvmfPkg/XenPlatformPei/MemDetect.c                                                                           |  6 +-
OvmfPkg/XenPlatformPei/Platform.c                                                                            |  2 +-
OvmfPkg/XenPvBlkDxe/BlockFront.c                                                                             |  4 +-
PrmPkg/Application/PrmInfo/PrmInfo.c                                                                         |  6 +-
PrmPkg/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.c                                               | 10 +--
PrmPkg/Library/DxePrmContextBufferLib/UnitTest/DxePrmContextBufferLibUnitTest.c                              |  2 +-
PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.c                                           | 14 ++---
PrmPkg/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.c                                                             | 40 ++++++------
PrmPkg/PrmConfigDxe/PrmConfigDxe.c                                                                           | 44 +++++++-------
PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c                                                                           | 22 +++----
PrmPkg/PrmSsdtInstallDxe/PrmSsdtInstallDxe.c                                                                 |  4 +-
RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInterfaceBmcUsbNicLib.c                     | 36 +++++------
RedfishPkg/Library/RedfishPlatformCredentialIpmiLib/RedfishPlatformCredentialIpmiLib.c                       | 28 ++++-----
RedfishPkg/PrivateLibrary/RedfishLib/RedfishLib.c                                                            |  2 +-
RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/service.c                                            |  4 +-
RedfishPkg/RedfishConfigHandler/RedfishConfigHandlerCommon.c                                                 |  6 +-
RedfishPkg/RedfishConfigHandler/RedfishConfigHandlerDriver.c                                                 | 20 +++---
RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c                                                           | 62 +++++++++----------
RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c                                                 | 14 ++---
RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c                                                              | 14 ++---
SecurityPkg/HddPassword/HddPasswordDxe.c                                                                     | 44 +++++++-------
SecurityPkg/HddPassword/HddPasswordPei.c                                                                     | 10 +--
SecurityPkg/Library/AuthVariableLib/AuthService.c                                                            |  4 +-
SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.c                            |  6 +-
SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.c                      |  2 +-
SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.c                                            | 38 ++++++------
SecurityPkg/Library/SecureBootVariableLib/UnitTest/SecureBootVariableLibUnitTest.c                           |  4 +-
SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.c                          |  2 +-
SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c                                                               | 24 ++++----
SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c                                                                  |  8 +--
SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c                                                          | 10 +--
SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c                                                                          | 12 ++--
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c                                                                            | 10 +--
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c                                                                            | 22 +++----
SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.c                                                                        |  6 +-
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c                                 |  2 +-
SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.c                        | 14 ++---
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c                         |  4 +-
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.c                         |  2 +-
StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/SetPermissions.c                                      | 22 +++----
StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c                                   |  2 +-
StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/AArch64/StandaloneMmPeCoffExtraActionLib.c          | 16 ++---
UefiCpuPkg/CpuDxe/CpuDxe.c                                                                                   |  8 +--
UefiCpuPkg/CpuDxeRiscV64/CpuDxe.c                                                                            |  6 +-
UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c                                                                          |  2 +-
UefiCpuPkg/Library/BaseRiscV64CpuExceptionHandlerLib/CpuExceptionHandlerLib.c                                |  2 +-
UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/CpuExceptionHandlerTestCommon.c                           |  2 +-
UefiCpuPkg/Library/MpInitLib/DxeMpLib.c                                                                      |  2 +-
UefiCpuPkg/Library/MpInitLib/Microcode.c                                                                     |  8 +--
UefiCpuPkg/Library/MpInitLib/MpLib.c                                                                         |  2 +-
UefiCpuPkg/Library/MpInitLib/PeiMpLib.c                                                                      |  2 +-
UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c                                                                            |  2 +-
UefiCpuPkg/SecCore/SecMain.c                                                                                 | 10 +--
UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServicesUnitTestCommom.c                              | 16 ++---
UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c                                                            |  2 +-
UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c                                                   |  4 +-
UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c                                                           |  2 +-
UnitTestFrameworkPkg/Library/UnitTestBootLibUsbClass/UnitTestBootLibUsbClass.c                               | 12 ++--
UnitTestFrameworkPkg/Library/UnitTestLib/Log.c                                                               |  2 +-
UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.c                                                       |  4 +-
UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c | 26 ++++----
UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLib.c                               |  2 +-
UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.c                         |  2 +-
UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibDebugLib.c                       |  2 +-
275 files changed, 1213 insertions(+), 1213 deletions(-)
[edk2-devel] [PATCH 00/18] Replace pre-standard macro __FUNCTION__ with C99 __func__ throughout edk2
Posted by Rebecca Cran 1 year ago
Following on from commit b17a3a133b18fb41493fba7d86e9b5804ea6a8cf which
updated MdePkg to be more C11 compliant by replacing the pre-standard
__FUNCTION__ with __func__ which was introduced in C99, this patch
series updates the remaining packages in edk2.

The changes were generated by using "Replace in Files" in VS Code.

GitHub branch: https://github.com/bcran/edk2/tree/c99func
GitHub PR:     https://github.com/tianocore/edk2/pull/4247

Rebecca Cran (18):
  ArmPkg: Update code to be more C11 compliant by using __func__
  ArmVirtPkg: Update code to be more C11 compliant by using __func__
  UefiCpuPkg: Update code to be more C11 compliant by using __func__
  OvmfPkg: Update code to be more C11 compliant by using __func__
  MdeModulePkg: Update code to be more C11 compliant by using __func__
  SecurityPkg: Update code to be more C11 compliant by using __func__
  EmbeddedPkg: Update code to be more C11 compliant by using __func__
  RedfishPkg: Update code to be more C11 compliant by using __func__
  ArmPlatformPkg: Update code to be more C11 compliant by using __func__
  UnitTestFrameworkPkg: Update to be more C11 compliant by using
    __func__
  PrmPkg: Update code to be more C11 compliant by using __func__
  StandaloneMmPkg: Update code to be more C11 compliant by using
    __func__
  CryptoPkg: Update code to be more C11 compliant by using __func__
  NetworkPkg: Update code to be more C11 compliant by using __func__
  SourceLevelDebugPkg: Update code to be more C11 compliant by using
    __func__
  EmulatorPkg: Update code to be more C11 compliant by using __func__
  UefiPayloadPkg: Update code to be more C11 compliant by using __func__
  FmpDevicePkg: Update code to be more C11 compliant by using __func__

 ArmPkg/Drivers/ArmGic/ArmGicCommonDxe.c                                                                      |  4 +-
 ArmPkg/Drivers/CpuDxe/MemoryAttribute.c                                                                      | 10 +--
 ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c                                                             |  4 +-
 ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.c                                                 |  2 +-
 ArmPkg/Library/LinuxBootBootManagerLib/LinuxBootBm.c                                                         |  2 +-
 ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c                                                           | 32 +++++-----
 ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c                                             |  2 +-
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type00/MiscBiosVendorFunction.c                                        |  2 +-
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c                                |  2 +-
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturerFunction.c                             |  2 +-
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufacturerFunction.c                               |  2 +-
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInstallableLanguagesFunction.c                      |  2 +-
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type32/MiscBootInformationFunction.c                                   |  2 +-
 ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c                                                      |  4 +-
 ArmVirtPkg/CloudHvAcpiPlatformDxe/CloudHvAcpi.c                                                              |  4 +-
 ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.c                                                     |  2 +-
 ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c                                       |  4 +-
 ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c                                     |  6 +-
 ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.c                               |  6 +-
 ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMemInfoLib.c                                             | 10 +--
 ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.c                                           |  4 +-
 ArmVirtPkg/Library/KvmtoolVirtMemInfoLib/KvmtoolVirtMemInfoLib.c                                             |  2 +-
 ArmVirtPkg/Library/NorFlashKvmtoolLib/NorFlashKvmtool.c                                                      |  4 +-
 ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.c                                                         |  2 +-
 ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c                                                       | 20 +++---
 ArmVirtPkg/Library/PlatformBootManagerLib/QemuKernel.c                                                       |  2 +-
 ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.c                                                           |  6 +-
 ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoLib.c                                                   |  4 +-
 ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLibConstructor.c                                     |  4 +-
 ArmVirtPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.c                                                           |  4 +-
 ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.c                                                                         |  4 +-
 CryptoPkg/Library/TlsLib/TlsConfig.c                                                                         |  8 +--
 CryptoPkg/Library/TlsLib/TlsProcess.c                                                                        |  4 +-
 EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c                                                          | 18 +++---
 EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c                                                            | 10 +--
 EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.c                                                              | 22 +++----
 EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.c                                                    |  2 +-
 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c                                                          |  2 +-
 EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c                                                             | 20 +++---
 EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c                        |  2 +-
 EmulatorPkg/Win/Host/WinPacketFilter.c                                                                       |  2 +-
 FmpDevicePkg/FmpDxe/VariableSupport.c                                                                        |  2 +-
 MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c                                                                      | 38 ++++++------
 MdeModulePkg/Bus/Ata/AhciPei/AhciPei.c                                                                       | 18 +++---
 MdeModulePkg/Bus/Ata/AhciPei/AhciPeiBlockIo.c                                                                |  2 +-
 MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c                                                                          |  2 +-
 MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c                                                                     |  4 +-
 MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c                                |  2 +-
 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c                                                       |  8 +--
 MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPei.c                                                           | 36 +++++------
 MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiBlockIo.c                                                    |  6 +-
 MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c                                                        | 34 +++++------
 MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiPassThru.c                                                   | 24 ++++----
 MdeModulePkg/Bus/Pci/PciBusDxe/PciCommand.c                                                                  |  2 +-
 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridge.c                                                        | 14 ++---
 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.c                                                           |  6 +-
 MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c                                                             | 12 ++--
 MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c                                                                          |  2 +-
 MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c                                                                     |  4 +-
 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c                                                                 |  6 +-
 MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c                                                                |  2 +-
 MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c                                                                      |  2 +-
 MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c                                                                |  6 +-
 MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c                                              |  2 +-
 MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c                                                              |  4 +-
 MdeModulePkg/Core/DxeIplPeim/RiscV64/DxeLoadFunc.c                                                           |  4 +-
 MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c                                                                |  2 +-
 MdeModulePkg/Core/Pei/FwVol/FwVol.c                                                                          |  2 +-
 MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleReportLib.c                                                  |  2 +-
 MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c                                                   |  2 +-
 MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c                                                          |  2 +-
 MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c                                                             |  2 +-
 MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c                                                     |  2 +-
 MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.c                                                   | 22 +++----
 MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c                                                   |  6 +-
 MdeModulePkg/Universal/CapsulePei/UefiCapsule.c                                                              |  8 +--
 MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c                                                             |  2 +-
 MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c                                                               | 10 +--
 MdeModulePkg/Universal/Disk/UdfDxe/File.c                                                                    |  2 +-
 MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c                                                    |  2 +-
 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.c                                            |  6 +-
 MdeModulePkg/Universal/FaultTolerantWriteDxe/FtwMisc.c                                                       |  2 +-
 MdeModulePkg/Universal/PCD/Dxe/Service.c                                                                     |  2 +-
 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c                                                                 |  4 +-
 MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockDxe.c                                                   |  6 +-
 MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c                                                   |  6 +-
 MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c                                                        |  6 +-
 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableLockRequestToLock.c                                       |  4 +-
 MdeModulePkg/Universal/Variable/RuntimeDxe/VariablePolicySmmDxe.c                                            | 20 +++---
 NetworkPkg/HttpDxe/HttpsSupport.c                                                                            | 16 ++---
 NetworkPkg/IScsiDxe/IScsiMisc.c                                                                              |  4 +-
 OvmfPkg/AcpiPlatformDxe/BootScript.c                                                                         |  4 +-
 OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c                                                                        |  4 +-
 OvmfPkg/AcpiPlatformDxe/EntryPoint.c                                                                         |  8 +--
 OvmfPkg/AcpiPlatformDxe/PciDecoding.c                                                                        | 10 +--
 OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c                                                                      | 64 ++++++++++----------
 OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierSevHashes.c                                              | 18 +++---
 OvmfPkg/AmdSevDxe/AmdSevDxe.c                                                                                |  2 +-
 OvmfPkg/Bhyve/AcpiPlatformDxe/EntryPoint.c                                                                   |  8 +--
 OvmfPkg/Bhyve/AcpiPlatformDxe/PciDecoding.c                                                                  | 10 +--
 OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.c                                                                          |  6 +-
 OvmfPkg/Bhyve/PlatformPei/ClearCache.c                                                                       |  6 +-
 OvmfPkg/Bhyve/PlatformPei/MemDetect.c                                                                        | 12 ++--
 OvmfPkg/Bhyve/PlatformPei/Platform.c                                                                         | 10 +--
 OvmfPkg/CpuHotplugSmm/CpuHotplug.c                                                                           | 40 ++++++------
 OvmfPkg/CpuHotplugSmm/QemuCpuhp.c                                                                            | 32 +++++-----
 OvmfPkg/CpuHotplugSmm/Smbase.c                                                                               | 10 +--
 OvmfPkg/CpuS3DataDxe/CpuS3Data.c                                                                             |  2 +-
 OvmfPkg/Csm/CsmSupportLib/LegacyInterrupt.c                                                                  |  2 +-
 OvmfPkg/Csm/CsmSupportLib/LegacyRegion.c                                                                     |  2 +-
 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c                                                                |  2 +-
 OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c                                                        | 28 ++++-----
 OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.c                                                      |  4 +-
 OvmfPkg/Fdt/HighMemDxe/HighMemDxe.c                                                                          | 10 +--
 OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.c                                                                      | 10 +--
 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c                                       |  2 +-
 OvmfPkg/IoMmuDxe/CcIoMmu.c                                                                                   | 18 +++---
 OvmfPkg/IoMmuDxe/IoMmuBuffer.c                                                                               |  8 +--
 OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.c                                                              |  2 +-
 OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.c                                                           |  4 +-
 OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c                                                               |  2 +-
 OvmfPkg/Library/BaseMemEncryptSevLib/X64/PeiDxeVirtualMemory.c                                               | 22 +++----
 OvmfPkg/Library/BaseMemEncryptSevLib/X64/SnpPageStateChangeInternal.c                                        |  4 +-
 OvmfPkg/Library/BaseMemEncryptTdxLib/MemoryEncryption.c                                                      | 26 ++++----
 OvmfPkg/Library/BasePciCapLib/BasePciCapLib.c                                                                |  4 +-
 OvmfPkg/Library/CcExitLib/CcExitVeHandler.c                                                                  | 18 +++---
 OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.c                                            |  6 +-
 OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c                                                            |  2 +-
 OvmfPkg/Library/LockBoxLib/LockBoxLib.c                                                                      | 10 +--
 OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.c                                            | 22 +++----
 OvmfPkg/Library/PeilessStartupLib/X64/VirtualMemory.c                                                        |  2 +-
 OvmfPkg/Library/PlatformBmPrintScLib/StatusCodeHandler.c                                                     | 12 ++--
 OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c                                                         | 12 ++--
 OvmfPkg/Library/PlatformBootManagerLib/QemuKernel.c                                                          |  2 +-
 OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.c                                                    | 10 +--
 OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.c                                                     | 10 +--
 OvmfPkg/Library/PlatformBootManagerLibGrub/QemuKernel.c                                                      |  2 +-
 OvmfPkg/Library/PlatformInitLib/MemDetect.c                                                                  | 28 ++++-----
 OvmfPkg/Library/PlatformInitLib/Platform.c                                                                   | 20 +++---
 OvmfPkg/Library/QemuBootOrderLib/ExtraRootBusMap.c                                                           |  2 +-
 OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.c                                                          | 42 ++++++-------
 OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxe.c                                                                  | 18 +++---
 OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmio.c                                                              |  2 +-
 OvmfPkg/Library/QemuFwCfgS3Lib/QemuFwCfgS3Dxe.c                                                              | 34 +++++------
 OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c                                                    |  8 +--
 OvmfPkg/Library/ResetSystemLib/ResetSystemLibMicrovm.c                                                       |  8 +--
 OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.c                                                |  4 +-
 OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c                                                    |  4 +-
 OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c                                                        |  4 +-
 OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.c                                                          | 24 ++++----
 OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDevice.c                                                       |  4 +-
 OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c                                                    |  8 +--
 OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.c                                                                  |  4 +-
 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.c                                      |  2 +-
 OvmfPkg/LsiScsiDxe/LsiScsi.c                                                                                 |  4 +-
 OvmfPkg/MptScsiDxe/MptScsi.c                                                                                 | 10 +--
 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.c                                                                   |  6 +-
 OvmfPkg/PlatformDxe/Platform.c                                                                               | 14 ++---
 OvmfPkg/PlatformPei/ClearCache.c                                                                             |  6 +-
 OvmfPkg/PlatformPei/FeatureControl.c                                                                         |  6 +-
 OvmfPkg/PlatformPei/MemDetect.c                                                                              | 12 ++--
 OvmfPkg/PlatformPei/MemTypeInfo.c                                                                            | 10 +--
 OvmfPkg/PlatformPei/Platform.c                                                                               | 18 +++---
 OvmfPkg/PvScsiDxe/PvScsi.c                                                                                   |  4 +-
 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.c                                                        | 12 ++--
 OvmfPkg/QemuRamfbDxe/QemuRamfb.c                                                                             |  2 +-
 OvmfPkg/QemuVideoDxe/Gop.c                                                                                   |  2 +-
 OvmfPkg/QemuVideoDxe/Initialize.c                                                                            | 14 ++---
 OvmfPkg/QemuVideoDxe/VbeShim.c                                                                               | 12 ++--
 OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c                                                | 20 +++---
 OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/QemuKernel.c                                                |  2 +-
 OvmfPkg/RiscVVirt/Library/PrePiHobListPointerLib/PrePiHobListPointer.c                                       |  4 +-
 OvmfPkg/RiscVVirt/Sec/Memory.c                                                                               | 10 +--
 OvmfPkg/RiscVVirt/Sec/Platform.c                                                                             | 12 ++--
 OvmfPkg/RiscVVirt/Sec/SecMain.c                                                                              |  2 +-
 OvmfPkg/Sec/SecMain.c                                                                                        |  2 +-
 OvmfPkg/SmmAccess/SmmAccessPei.c                                                                             |  6 +-
 OvmfPkg/SmmControl2Dxe/SmiFeatures.c                                                                         | 22 +++----
 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.c                                                                      | 18 +++---
 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c                                                                      |  8 +--
 OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPeim.c                                                     |  6 +-
 OvmfPkg/TdxDxe/TdxAcpiTable.c                                                                                |  2 +-
 OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.c                                                                    |  4 +-
 OvmfPkg/VirtNorFlashDxe/VirtNorFlashFvb.c                                                                    | 22 +++----
 OvmfPkg/VirtioBlkDxe/VirtioBlk.c                                                                             |  8 +--
 OvmfPkg/VirtioFsDxe/FuseFlush.c                                                                              |  2 +-
 OvmfPkg/VirtioFsDxe/FuseFsync.c                                                                              |  2 +-
 OvmfPkg/VirtioFsDxe/FuseGetAttr.c                                                                            |  2 +-
 OvmfPkg/VirtioFsDxe/FuseInit.c                                                                               |  2 +-
 OvmfPkg/VirtioFsDxe/FuseLookup.c                                                                             |  2 +-
 OvmfPkg/VirtioFsDxe/FuseMkDir.c                                                                              |  2 +-
 OvmfPkg/VirtioFsDxe/FuseOpen.c                                                                               |  2 +-
 OvmfPkg/VirtioFsDxe/FuseOpenDir.c                                                                            |  2 +-
 OvmfPkg/VirtioFsDxe/FuseOpenOrCreate.c                                                                       |  2 +-
 OvmfPkg/VirtioFsDxe/FuseRead.c                                                                               |  2 +-
 OvmfPkg/VirtioFsDxe/FuseRelease.c                                                                            |  2 +-
 OvmfPkg/VirtioFsDxe/FuseRename.c                                                                             |  2 +-
 OvmfPkg/VirtioFsDxe/FuseSetAttr.c                                                                            |  2 +-
 OvmfPkg/VirtioFsDxe/FuseStatFs.c                                                                             |  2 +-
 OvmfPkg/VirtioFsDxe/FuseUnlink.c                                                                             |  2 +-
 OvmfPkg/VirtioFsDxe/FuseWrite.c                                                                              |  2 +-
 OvmfPkg/VirtioFsDxe/Helpers.c                                                                                |  2 +-
 OvmfPkg/VirtioFsDxe/SimpleFsOpen.c                                                                           |  4 +-
 OvmfPkg/VirtioGpuDxe/Commands.c                                                                              |  6 +-
 OvmfPkg/VirtioGpuDxe/DriverBinding.c                                                                         |  8 +--
 OvmfPkg/VirtioGpuDxe/Gop.c                                                                                   |  2 +-
 OvmfPkg/VirtioNetDxe/Events.c                                                                                |  2 +-
 OvmfPkg/VirtioRngDxe/VirtioRng.c                                                                             |  2 +-
 OvmfPkg/VirtioScsiDxe/VirtioScsi.c                                                                           |  2 +-
 OvmfPkg/XenAcpiPlatformDxe/Xen.c                                                                             |  2 +-
 OvmfPkg/XenPlatformPei/ClearCache.c                                                                          |  6 +-
 OvmfPkg/XenPlatformPei/MemDetect.c                                                                           |  6 +-
 OvmfPkg/XenPlatformPei/Platform.c                                                                            |  2 +-
 OvmfPkg/XenPvBlkDxe/BlockFront.c                                                                             |  4 +-
 PrmPkg/Application/PrmInfo/PrmInfo.c                                                                         |  6 +-
 PrmPkg/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.c                                               | 10 +--
 PrmPkg/Library/DxePrmContextBufferLib/UnitTest/DxePrmContextBufferLibUnitTest.c                              |  2 +-
 PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.c                                           | 14 ++---
 PrmPkg/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.c                                                             | 40 ++++++------
 PrmPkg/PrmConfigDxe/PrmConfigDxe.c                                                                           | 44 +++++++-------
 PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c                                                                           | 22 +++----
 PrmPkg/PrmSsdtInstallDxe/PrmSsdtInstallDxe.c                                                                 |  4 +-
 RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInterfaceBmcUsbNicLib.c                     | 36 +++++------
 RedfishPkg/Library/RedfishPlatformCredentialIpmiLib/RedfishPlatformCredentialIpmiLib.c                       | 28 ++++-----
 RedfishPkg/PrivateLibrary/RedfishLib/RedfishLib.c                                                            |  2 +-
 RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/service.c                                            |  4 +-
 RedfishPkg/RedfishConfigHandler/RedfishConfigHandlerCommon.c                                                 |  6 +-
 RedfishPkg/RedfishConfigHandler/RedfishConfigHandlerDriver.c                                                 | 20 +++---
 RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c                                                           | 62 +++++++++----------
 RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c                                                 | 14 ++---
 RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c                                                              | 14 ++---
 SecurityPkg/HddPassword/HddPasswordDxe.c                                                                     | 44 +++++++-------
 SecurityPkg/HddPassword/HddPasswordPei.c                                                                     | 10 +--
 SecurityPkg/Library/AuthVariableLib/AuthService.c                                                            |  4 +-
 SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.c                            |  6 +-
 SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.c                      |  2 +-
 SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.c                                            | 38 ++++++------
 SecurityPkg/Library/SecureBootVariableLib/UnitTest/SecureBootVariableLibUnitTest.c                           |  4 +-
 SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.c                          |  2 +-
 SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c                                                               | 24 ++++----
 SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c                                                                  |  8 +--
 SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c                                                          | 10 +--
 SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c                                                                          | 12 ++--
 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c                                                                            | 10 +--
 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c                                                                            | 22 +++----
 SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.c                                                                        |  6 +-
 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c                                 |  2 +-
 SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.c                        | 14 ++---
 SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c                         |  4 +-
 SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.c                         |  2 +-
 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/SetPermissions.c                                      | 22 +++----
 StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c                                   |  2 +-
 StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/AArch64/StandaloneMmPeCoffExtraActionLib.c          | 16 ++---
 UefiCpuPkg/CpuDxe/CpuDxe.c                                                                                   |  8 +--
 UefiCpuPkg/CpuDxeRiscV64/CpuDxe.c                                                                            |  6 +-
 UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c                                                                          |  2 +-
 UefiCpuPkg/Library/BaseRiscV64CpuExceptionHandlerLib/CpuExceptionHandlerLib.c                                |  2 +-
 UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/CpuExceptionHandlerTestCommon.c                           |  2 +-
 UefiCpuPkg/Library/MpInitLib/DxeMpLib.c                                                                      |  2 +-
 UefiCpuPkg/Library/MpInitLib/Microcode.c                                                                     |  8 +--
 UefiCpuPkg/Library/MpInitLib/MpLib.c                                                                         |  2 +-
 UefiCpuPkg/Library/MpInitLib/PeiMpLib.c                                                                      |  2 +-
 UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c                                                                            |  2 +-
 UefiCpuPkg/SecCore/SecMain.c                                                                                 | 10 +--
 UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServicesUnitTestCommom.c                              | 16 ++---
 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c                                                            |  2 +-
 UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c                                                   |  4 +-
 UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c                                                           |  2 +-
 UnitTestFrameworkPkg/Library/UnitTestBootLibUsbClass/UnitTestBootLibUsbClass.c                               | 12 ++--
 UnitTestFrameworkPkg/Library/UnitTestLib/Log.c                                                               |  2 +-
 UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.c                                                       |  4 +-
 UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c | 26 ++++----
 UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLib.c                               |  2 +-
 UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.c                         |  2 +-
 UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibDebugLib.c                       |  2 +-
 275 files changed, 1213 insertions(+), 1213 deletions(-)

-- 
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102630): https://edk2.groups.io/g/devel/message/102630
Mute This Topic: https://groups.io/mt/98115218/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH 00/18] Replace pre-standard macro __FUNCTION__ with C99 __func__ throughout edk2
Posted by Ard Biesheuvel 1 year ago
On Fri, 7 Apr 2023 at 00:23, Rebecca Cran <rebecca@bsdio.com> wrote:
>
> Following on from commit b17a3a133b18fb41493fba7d86e9b5804ea6a8cf which
> updated MdePkg to be more C11 compliant by replacing the pre-standard
> __FUNCTION__ with __func__ which was introduced in C99, this patch
> series updates the remaining packages in edk2.
>
> The changes were generated by using "Replace in Files" in VS Code.
>
> GitHub branch: https://github.com/bcran/edk2/tree/c99func
> GitHub PR:     https://github.com/tianocore/edk2/pull/4247
>
> Rebecca Cran (18):
>   ArmPkg: Update code to be more C11 compliant by using __func__
>   ArmPlatformPkg: Update code to be more C11 compliant by using __func__
>   ArmVirtPkg: Update code to be more C11 compliant by using __func__
>   EmbeddedPkg: Update code to be more C11 compliant by using __func__
>   OvmfPkg: Update code to be more C11 compliant by using __func__
>   StandaloneMmPkg: Update code to be more C11 compliant by using

For the packages above

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>

but feel free to apply it to the whole series.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102678): https://edk2.groups.io/g/devel/message/102678
Mute This Topic: https://groups.io/mt/98115218/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH 00/18] Replace pre-standard macro __FUNCTION__ with C99 __func__ throughout edk2
Posted by Rebecca Cran 1 year ago
Pushed as 
f2cc962cd28fe75fb4edf230d69e99c346fe9c8a..61652efd04a7585a779226137d0f9739a75aac69.


-- 

Rebecca Cran


On 4/6/23 4:23 PM, Rebecca Cran wrote:
> Following on from commit b17a3a133b18fb41493fba7d86e9b5804ea6a8cf which
> updated MdePkg to be more C11 compliant by replacing the pre-standard
> __FUNCTION__ with __func__ which was introduced in C99, this patch
> series updates the remaining packages in edk2.
>
> The changes were generated by using "Replace in Files" in VS Code.
>
> GitHub branch: https://github.com/bcran/edk2/tree/c99func
> GitHub PR:     https://github.com/tianocore/edk2/pull/4247
>
> Rebecca Cran (18):
>    ArmPkg: Update code to be more C11 compliant by using __func__
>    ArmVirtPkg: Update code to be more C11 compliant by using __func__
>    UefiCpuPkg: Update code to be more C11 compliant by using __func__
>    OvmfPkg: Update code to be more C11 compliant by using __func__
>    MdeModulePkg: Update code to be more C11 compliant by using __func__
>    SecurityPkg: Update code to be more C11 compliant by using __func__
>    EmbeddedPkg: Update code to be more C11 compliant by using __func__
>    RedfishPkg: Update code to be more C11 compliant by using __func__
>    ArmPlatformPkg: Update code to be more C11 compliant by using __func__
>    UnitTestFrameworkPkg: Update to be more C11 compliant by using
>      __func__
>    PrmPkg: Update code to be more C11 compliant by using __func__
>    StandaloneMmPkg: Update code to be more C11 compliant by using
>      __func__
>    CryptoPkg: Update code to be more C11 compliant by using __func__
>    NetworkPkg: Update code to be more C11 compliant by using __func__
>    SourceLevelDebugPkg: Update code to be more C11 compliant by using
>      __func__
>    EmulatorPkg: Update code to be more C11 compliant by using __func__
>    UefiPayloadPkg: Update code to be more C11 compliant by using __func__
>    FmpDevicePkg: Update code to be more C11 compliant by using __func__
>
>   ArmPkg/Drivers/ArmGic/ArmGicCommonDxe.c                                                                      |  4 +-
>   ArmPkg/Drivers/CpuDxe/MemoryAttribute.c                                                                      | 10 +--
>   ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c                                                             |  4 +-
>   ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.c                                                 |  2 +-
>   ArmPkg/Library/LinuxBootBootManagerLib/LinuxBootBm.c                                                         |  2 +-
>   ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c                                                           | 32 +++++-----
>   ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c                                             |  2 +-
>   ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type00/MiscBiosVendorFunction.c                                        |  2 +-
>   ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c                                |  2 +-
>   ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturerFunction.c                             |  2 +-
>   ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufacturerFunction.c                               |  2 +-
>   ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInstallableLanguagesFunction.c                      |  2 +-
>   ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type32/MiscBootInformationFunction.c                                   |  2 +-
>   ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805Watchdog.c                                                      |  4 +-
>   ArmVirtPkg/CloudHvAcpiPlatformDxe/CloudHvAcpi.c                                                              |  4 +-
>   ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.c                                                     |  2 +-
>   ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c                                       |  4 +-
>   ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c                                     |  6 +-
>   ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.c                               |  6 +-
>   ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMemInfoLib.c                                             | 10 +--
>   ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.c                                           |  4 +-
>   ArmVirtPkg/Library/KvmtoolVirtMemInfoLib/KvmtoolVirtMemInfoLib.c                                             |  2 +-
>   ArmVirtPkg/Library/NorFlashKvmtoolLib/NorFlashKvmtool.c                                                      |  4 +-
>   ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.c                                                         |  2 +-
>   ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c                                                       | 20 +++---
>   ArmVirtPkg/Library/PlatformBootManagerLib/QemuKernel.c                                                       |  2 +-
>   ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.c                                                           |  6 +-
>   ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoLib.c                                                   |  4 +-
>   ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLibConstructor.c                                     |  4 +-
>   ArmVirtPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.c                                                           |  4 +-
>   ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.c                                                                         |  4 +-
>   CryptoPkg/Library/TlsLib/TlsConfig.c                                                                         |  8 +--
>   CryptoPkg/Library/TlsLib/TlsProcess.c                                                                        |  4 +-
>   EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c                                                          | 18 +++---
>   EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c                                                            | 10 +--
>   EmbeddedPkg/Drivers/FdtClientDxe/FdtClientDxe.c                                                              | 22 +++----
>   EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.c                                                    |  2 +-
>   EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c                                                          |  2 +-
>   EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c                                                             | 20 +++---
>   EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c                        |  2 +-
>   EmulatorPkg/Win/Host/WinPacketFilter.c                                                                       |  2 +-
>   FmpDevicePkg/FmpDxe/VariableSupport.c                                                                        |  2 +-
>   MdeModulePkg/Bus/Ata/AhciPei/AhciMode.c                                                                      | 38 ++++++------
>   MdeModulePkg/Bus/Ata/AhciPei/AhciPei.c                                                                       | 18 +++---
>   MdeModulePkg/Bus/Ata/AhciPei/AhciPeiBlockIo.c                                                                |  2 +-
>   MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c                                                                          |  2 +-
>   MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c                                                                     |  4 +-
>   MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c                                |  2 +-
>   MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c                                                       |  8 +--
>   MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPei.c                                                           | 36 +++++------
>   MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiBlockIo.c                                                    |  6 +-
>   MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiHci.c                                                        | 34 +++++------
>   MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiPassThru.c                                                   | 24 ++++----
>   MdeModulePkg/Bus/Pci/PciBusDxe/PciCommand.c                                                                  |  2 +-
>   MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridge.c                                                        | 14 ++---
>   MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.c                                                           |  6 +-
>   MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c                                                             | 12 ++--
>   MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c                                                                          |  2 +-
>   MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c                                                                     |  4 +-
>   MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c                                                                 |  6 +-
>   MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c                                                                |  2 +-
>   MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c                                                                      |  2 +-
>   MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c                                                                |  6 +-
>   MdeModulePkg/Core/Dxe/SectionExtraction/CoreSectionExtraction.c                                              |  2 +-
>   MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c                                                              |  4 +-
>   MdeModulePkg/Core/DxeIplPeim/RiscV64/DxeLoadFunc.c                                                           |  4 +-
>   MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c                                                                |  2 +-
>   MdeModulePkg/Core/Pei/FwVol/FwVol.c                                                                          |  2 +-
>   MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleReportLib.c                                                  |  2 +-
>   MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c                                                   |  2 +-
>   MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c                                                          |  2 +-
>   MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c                                                             |  2 +-
>   MdeModulePkg/Library/UefiBootManagerLib/BmDriverHealth.c                                                     |  2 +-
>   MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.c                                                   | 22 +++----
>   MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c                                                   |  6 +-
>   MdeModulePkg/Universal/CapsulePei/UefiCapsule.c                                                              |  8 +--
>   MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c                                                             |  2 +-
>   MdeModulePkg/Universal/Disk/PartitionDxe/Udf.c                                                               | 10 +--
>   MdeModulePkg/Universal/Disk/UdfDxe/File.c                                                                    |  2 +-
>   MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c                                                    |  2 +-
>   MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWrite.c                                            |  6 +-
>   MdeModulePkg/Universal/FaultTolerantWriteDxe/FtwMisc.c                                                       |  2 +-
>   MdeModulePkg/Universal/PCD/Dxe/Service.c                                                                     |  2 +-
>   MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c                                                                 |  4 +-
>   MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockDxe.c                                                   |  6 +-
>   MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c                                                   |  6 +-
>   MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c                                                        |  6 +-
>   MdeModulePkg/Universal/Variable/RuntimeDxe/VariableLockRequestToLock.c                                       |  4 +-
>   MdeModulePkg/Universal/Variable/RuntimeDxe/VariablePolicySmmDxe.c                                            | 20 +++---
>   NetworkPkg/HttpDxe/HttpsSupport.c                                                                            | 16 ++---
>   NetworkPkg/IScsiDxe/IScsiMisc.c                                                                              |  4 +-
>   OvmfPkg/AcpiPlatformDxe/BootScript.c                                                                         |  4 +-
>   OvmfPkg/AcpiPlatformDxe/CloudHvAcpi.c                                                                        |  4 +-
>   OvmfPkg/AcpiPlatformDxe/EntryPoint.c                                                                         |  8 +--
>   OvmfPkg/AcpiPlatformDxe/PciDecoding.c                                                                        | 10 +--
>   OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c                                                                      | 64 ++++++++++----------
>   OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierSevHashes.c                                              | 18 +++---
>   OvmfPkg/AmdSevDxe/AmdSevDxe.c                                                                                |  2 +-
>   OvmfPkg/Bhyve/AcpiPlatformDxe/EntryPoint.c                                                                   |  8 +--
>   OvmfPkg/Bhyve/AcpiPlatformDxe/PciDecoding.c                                                                  | 10 +--
>   OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.c                                                                          |  6 +-
>   OvmfPkg/Bhyve/PlatformPei/ClearCache.c                                                                       |  6 +-
>   OvmfPkg/Bhyve/PlatformPei/MemDetect.c                                                                        | 12 ++--
>   OvmfPkg/Bhyve/PlatformPei/Platform.c                                                                         | 10 +--
>   OvmfPkg/CpuHotplugSmm/CpuHotplug.c                                                                           | 40 ++++++------
>   OvmfPkg/CpuHotplugSmm/QemuCpuhp.c                                                                            | 32 +++++-----
>   OvmfPkg/CpuHotplugSmm/Smbase.c                                                                               | 10 +--
>   OvmfPkg/CpuS3DataDxe/CpuS3Data.c                                                                             |  2 +-
>   OvmfPkg/Csm/CsmSupportLib/LegacyInterrupt.c                                                                  |  2 +-
>   OvmfPkg/Csm/CsmSupportLib/LegacyRegion.c                                                                     |  2 +-
>   OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.c                                                                |  2 +-
>   OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c                                                        | 28 ++++-----
>   OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.c                                                      |  4 +-
>   OvmfPkg/Fdt/HighMemDxe/HighMemDxe.c                                                                          | 10 +--
>   OvmfPkg/Fdt/VirtioFdtDxe/VirtioFdtDxe.c                                                                      | 10 +--
>   OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.c                                       |  2 +-
>   OvmfPkg/IoMmuDxe/CcIoMmu.c                                                                                   | 18 +++---
>   OvmfPkg/IoMmuDxe/IoMmuBuffer.c                                                                               |  8 +--
>   OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.c                                                              |  2 +-
>   OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.c                                                           |  4 +-
>   OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c                                                               |  2 +-
>   OvmfPkg/Library/BaseMemEncryptSevLib/X64/PeiDxeVirtualMemory.c                                               | 22 +++----
>   OvmfPkg/Library/BaseMemEncryptSevLib/X64/SnpPageStateChangeInternal.c                                        |  4 +-
>   OvmfPkg/Library/BaseMemEncryptTdxLib/MemoryEncryption.c                                                      | 26 ++++----
>   OvmfPkg/Library/BasePciCapLib/BasePciCapLib.c                                                                |  4 +-
>   OvmfPkg/Library/CcExitLib/CcExitVeHandler.c                                                                  | 18 +++---
>   OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.c                                            |  6 +-
>   OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c                                                            |  2 +-
>   OvmfPkg/Library/LockBoxLib/LockBoxLib.c                                                                      | 10 +--
>   OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.c                                            | 22 +++----
>   OvmfPkg/Library/PeilessStartupLib/X64/VirtualMemory.c                                                        |  2 +-
>   OvmfPkg/Library/PlatformBmPrintScLib/StatusCodeHandler.c                                                     | 12 ++--
>   OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c                                                         | 12 ++--
>   OvmfPkg/Library/PlatformBootManagerLib/QemuKernel.c                                                          |  2 +-
>   OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.c                                                    | 10 +--
>   OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.c                                                     | 10 +--
>   OvmfPkg/Library/PlatformBootManagerLibGrub/QemuKernel.c                                                      |  2 +-
>   OvmfPkg/Library/PlatformInitLib/MemDetect.c                                                                  | 28 ++++-----
>   OvmfPkg/Library/PlatformInitLib/Platform.c                                                                   | 20 +++---
>   OvmfPkg/Library/QemuBootOrderLib/ExtraRootBusMap.c                                                           |  2 +-
>   OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.c                                                          | 42 ++++++-------
>   OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxe.c                                                                  | 18 +++---
>   OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmio.c                                                              |  2 +-
>   OvmfPkg/Library/QemuFwCfgS3Lib/QemuFwCfgS3Dxe.c                                                              | 34 +++++------
>   OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c                                                    |  8 +--
>   OvmfPkg/Library/ResetSystemLib/ResetSystemLibMicrovm.c                                                       |  8 +--
>   OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.c                                                |  4 +-
>   OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c                                                    |  4 +-
>   OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c                                                        |  4 +-
>   OvmfPkg/Library/TlsAuthConfigLib/TlsAuthConfigLib.c                                                          | 24 ++++----
>   OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDevice.c                                                       |  4 +-
>   OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c                                                    |  8 +--
>   OvmfPkg/Library/XenIoMmioLib/XenIoMmioLib.c                                                                  |  4 +-
>   OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.c                                      |  2 +-
>   OvmfPkg/LsiScsiDxe/LsiScsi.c                                                                                 |  4 +-
>   OvmfPkg/MptScsiDxe/MptScsi.c                                                                                 | 10 +--
>   OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.c                                                                   |  6 +-
>   OvmfPkg/PlatformDxe/Platform.c                                                                               | 14 ++---
>   OvmfPkg/PlatformPei/ClearCache.c                                                                             |  6 +-
>   OvmfPkg/PlatformPei/FeatureControl.c                                                                         |  6 +-
>   OvmfPkg/PlatformPei/MemDetect.c                                                                              | 12 ++--
>   OvmfPkg/PlatformPei/MemTypeInfo.c                                                                            | 10 +--
>   OvmfPkg/PlatformPei/Platform.c                                                                               | 18 +++---
>   OvmfPkg/PvScsiDxe/PvScsi.c                                                                                   |  4 +-
>   OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.c                                                        | 12 ++--
>   OvmfPkg/QemuRamfbDxe/QemuRamfb.c                                                                             |  2 +-
>   OvmfPkg/QemuVideoDxe/Gop.c                                                                                   |  2 +-
>   OvmfPkg/QemuVideoDxe/Initialize.c                                                                            | 14 ++---
>   OvmfPkg/QemuVideoDxe/VbeShim.c                                                                               | 12 ++--
>   OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/PlatformBm.c                                                | 20 +++---
>   OvmfPkg/RiscVVirt/Library/PlatformBootManagerLib/QemuKernel.c                                                |  2 +-
>   OvmfPkg/RiscVVirt/Library/PrePiHobListPointerLib/PrePiHobListPointer.c                                       |  4 +-
>   OvmfPkg/RiscVVirt/Sec/Memory.c                                                                               | 10 +--
>   OvmfPkg/RiscVVirt/Sec/Platform.c                                                                             | 12 ++--
>   OvmfPkg/RiscVVirt/Sec/SecMain.c                                                                              |  2 +-
>   OvmfPkg/Sec/SecMain.c                                                                                        |  2 +-
>   OvmfPkg/SmmAccess/SmmAccessPei.c                                                                             |  6 +-
>   OvmfPkg/SmmControl2Dxe/SmiFeatures.c                                                                         | 22 +++----
>   OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.c                                                                      | 18 +++---
>   OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c                                                                      |  8 +--
>   OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPeim.c                                                     |  6 +-
>   OvmfPkg/TdxDxe/TdxAcpiTable.c                                                                                |  2 +-
>   OvmfPkg/VirtNorFlashDxe/VirtNorFlashDxe.c                                                                    |  4 +-
>   OvmfPkg/VirtNorFlashDxe/VirtNorFlashFvb.c                                                                    | 22 +++----
>   OvmfPkg/VirtioBlkDxe/VirtioBlk.c                                                                             |  8 +--
>   OvmfPkg/VirtioFsDxe/FuseFlush.c                                                                              |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseFsync.c                                                                              |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseGetAttr.c                                                                            |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseInit.c                                                                               |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseLookup.c                                                                             |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseMkDir.c                                                                              |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseOpen.c                                                                               |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseOpenDir.c                                                                            |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseOpenOrCreate.c                                                                       |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseRead.c                                                                               |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseRelease.c                                                                            |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseRename.c                                                                             |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseSetAttr.c                                                                            |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseStatFs.c                                                                             |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseUnlink.c                                                                             |  2 +-
>   OvmfPkg/VirtioFsDxe/FuseWrite.c                                                                              |  2 +-
>   OvmfPkg/VirtioFsDxe/Helpers.c                                                                                |  2 +-
>   OvmfPkg/VirtioFsDxe/SimpleFsOpen.c                                                                           |  4 +-
>   OvmfPkg/VirtioGpuDxe/Commands.c                                                                              |  6 +-
>   OvmfPkg/VirtioGpuDxe/DriverBinding.c                                                                         |  8 +--
>   OvmfPkg/VirtioGpuDxe/Gop.c                                                                                   |  2 +-
>   OvmfPkg/VirtioNetDxe/Events.c                                                                                |  2 +-
>   OvmfPkg/VirtioRngDxe/VirtioRng.c                                                                             |  2 +-
>   OvmfPkg/VirtioScsiDxe/VirtioScsi.c                                                                           |  2 +-
>   OvmfPkg/XenAcpiPlatformDxe/Xen.c                                                                             |  2 +-
>   OvmfPkg/XenPlatformPei/ClearCache.c                                                                          |  6 +-
>   OvmfPkg/XenPlatformPei/MemDetect.c                                                                           |  6 +-
>   OvmfPkg/XenPlatformPei/Platform.c                                                                            |  2 +-
>   OvmfPkg/XenPvBlkDxe/BlockFront.c                                                                             |  4 +-
>   PrmPkg/Application/PrmInfo/PrmInfo.c                                                                         |  6 +-
>   PrmPkg/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.c                                               | 10 +--
>   PrmPkg/Library/DxePrmContextBufferLib/UnitTest/DxePrmContextBufferLibUnitTest.c                              |  2 +-
>   PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.c                                           | 14 ++---
>   PrmPkg/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.c                                                             | 40 ++++++------
>   PrmPkg/PrmConfigDxe/PrmConfigDxe.c                                                                           | 44 +++++++-------
>   PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c                                                                           | 22 +++----
>   PrmPkg/PrmSsdtInstallDxe/PrmSsdtInstallDxe.c                                                                 |  4 +-
>   RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInterfaceBmcUsbNicLib.c                     | 36 +++++------
>   RedfishPkg/Library/RedfishPlatformCredentialIpmiLib/RedfishPlatformCredentialIpmiLib.c                       | 28 ++++-----
>   RedfishPkg/PrivateLibrary/RedfishLib/RedfishLib.c                                                            |  2 +-
>   RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/service.c                                            |  4 +-
>   RedfishPkg/RedfishConfigHandler/RedfishConfigHandlerCommon.c                                                 |  6 +-
>   RedfishPkg/RedfishConfigHandler/RedfishConfigHandlerDriver.c                                                 | 20 +++---
>   RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c                                                           | 62 +++++++++----------
>   RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c                                                 | 14 ++---
>   RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c                                                              | 14 ++---
>   SecurityPkg/HddPassword/HddPasswordDxe.c                                                                     | 44 +++++++-------
>   SecurityPkg/HddPassword/HddPasswordPei.c                                                                     | 10 +--
>   SecurityPkg/Library/AuthVariableLib/AuthService.c                                                            |  4 +-
>   SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.c                            |  6 +-
>   SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.c                      |  2 +-
>   SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.c                                            | 38 ++++++------
>   SecurityPkg/Library/SecureBootVariableLib/UnitTest/SecureBootVariableLibUnitTest.c                           |  4 +-
>   SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.c                          |  2 +-
>   SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c                                                               | 24 ++++----
>   SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c                                                                  |  8 +--
>   SecurityPkg/Tcg/Opal/OpalPassword/OpalPasswordPei.c                                                          | 10 +--
>   SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c                                                                          | 12 ++--
>   SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c                                                                            | 10 +--
>   SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c                                                                            | 22 +++----
>   SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.c                                                                        |  6 +-
>   SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c                                 |  2 +-
>   SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.c                        | 14 ++---
>   SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c                         |  4 +-
>   SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Pei.c                         |  2 +-
>   StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/Arm/SetPermissions.c                                      | 22 +++----
>   StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c                                   |  2 +-
>   StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/AArch64/StandaloneMmPeCoffExtraActionLib.c          | 16 ++---
>   UefiCpuPkg/CpuDxe/CpuDxe.c                                                                                   |  8 +--
>   UefiCpuPkg/CpuDxeRiscV64/CpuDxe.c                                                                            |  6 +-
>   UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c                                                                          |  2 +-
>   UefiCpuPkg/Library/BaseRiscV64CpuExceptionHandlerLib/CpuExceptionHandlerLib.c                                |  2 +-
>   UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/CpuExceptionHandlerTestCommon.c                           |  2 +-
>   UefiCpuPkg/Library/MpInitLib/DxeMpLib.c                                                                      |  2 +-
>   UefiCpuPkg/Library/MpInitLib/Microcode.c                                                                     |  8 +--
>   UefiCpuPkg/Library/MpInitLib/MpLib.c                                                                         |  2 +-
>   UefiCpuPkg/Library/MpInitLib/PeiMpLib.c                                                                      |  2 +-
>   UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c                                                                            |  2 +-
>   UefiCpuPkg/SecCore/SecMain.c                                                                                 | 10 +--
>   UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServicesUnitTestCommom.c                              | 16 ++---
>   UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c                                                            |  2 +-
>   UefiPayloadPkg/Library/PciHostBridgeLib/PciHostBridgeLib.c                                                   |  4 +-
>   UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c                                                           |  2 +-
>   UnitTestFrameworkPkg/Library/UnitTestBootLibUsbClass/UnitTestBootLibUsbClass.c                               | 12 ++--
>   UnitTestFrameworkPkg/Library/UnitTestLib/Log.c                                                               |  2 +-
>   UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.c                                                       |  4 +-
>   UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c | 26 ++++----
>   UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLib.c                               |  2 +-
>   UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.c                         |  2 +-
>   UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibDebugLib.c                       |  2 +-
>   275 files changed, 1213 insertions(+), 1213 deletions(-)
>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102778): https://edk2.groups.io/g/devel/message/102778
Mute This Topic: https://groups.io/mt/98115218/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH 00/18] Replace pre-standard macro __FUNCTION__ with C99 __func__ throughout edk2
Posted by Gerd Hoffmann 1 year ago
On Thu, Apr 06, 2023 at 04:23:01PM -0600, Rebecca Cran wrote:
> Following on from commit b17a3a133b18fb41493fba7d86e9b5804ea6a8cf which
> updated MdePkg to be more C11 compliant by replacing the pre-standard
> __FUNCTION__ with __func__ which was introduced in C99, this patch
> series updates the remaining packages in edk2.
> 
> The changes were generated by using "Replace in Files" in VS Code.

Acked-by: Gerd Hoffmann <kraxel@redhat.com>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102818): https://edk2.groups.io/g/devel/message/102818
Mute This Topic: https://groups.io/mt/98115218/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-