ArmPkg: Disable AuditOnly mode for uncrustify

Fix up a handful of uncrustify infractions and drop the AuditOnly
override for uncrustify so we get the same uncrustify CI coverage as
other packages.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
Ard Biesheuvel 2024-07-24 12:02:39 +02:00 committed by mergify[bot]
parent d4ae23b1e6
commit a9c8c47d53
3 changed files with 7 additions and 10 deletions

View File

@ -239,10 +239,5 @@
],
"AdditionalIncludePaths": [] # Additional paths to spell check
# (wildcards supported)
},
# options defined in .pytool/Plugin/UncrustifyCheck
"UncrustifyCheck": {
"AuditOnly": True
}
}

View File

@ -26,7 +26,7 @@ ArmMonitorCall (
IN OUT ARM_MONITOR_ARGS *Args
)
{
if (FeaturePcdGet (PcdMonitorConduitHvc)) {
if (FeaturePcdGet (PcdMonitorConduitHvc)) {
ArmCallHvc ((ARM_HVC_ARGS *)Args);
} else {
ArmCallSmc ((ARM_SMC_ARGS *)Args);

View File

@ -32,7 +32,7 @@ PeCoffLoaderRelocateImageExtraAction (
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
)
{
#ifdef __GNUC__
#ifdef __GNUC__
if (ImageContext->PdbPointer) {
DEBUG ((
DEBUG_LOAD | DEBUG_INFO,
@ -42,7 +42,8 @@ PeCoffLoaderRelocateImageExtraAction (
));
return;
}
#endif
#endif
DEBUG ((
DEBUG_LOAD | DEBUG_INFO,
@ -68,7 +69,7 @@ PeCoffLoaderUnloadImageExtraAction (
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
)
{
#ifdef __GNUC__
#ifdef __GNUC__
if (ImageContext->PdbPointer) {
DEBUG ((
DEBUG_LOAD | DEBUG_INFO,
@ -78,7 +79,8 @@ PeCoffLoaderUnloadImageExtraAction (
));
return;
}
#endif
#endif
DEBUG ((
DEBUG_LOAD | DEBUG_INFO,