mirror of
https://github.com/acidanthera/audk.git
synced 2025-05-03 06:00:10 +02:00
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:
parent
d4ae23b1e6
commit
a9c8c47d53
@ -239,10 +239,5 @@
|
|||||||
],
|
],
|
||||||
"AdditionalIncludePaths": [] # Additional paths to spell check
|
"AdditionalIncludePaths": [] # Additional paths to spell check
|
||||||
# (wildcards supported)
|
# (wildcards supported)
|
||||||
},
|
|
||||||
|
|
||||||
# options defined in .pytool/Plugin/UncrustifyCheck
|
|
||||||
"UncrustifyCheck": {
|
|
||||||
"AuditOnly": True
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ ArmMonitorCall (
|
|||||||
IN OUT ARM_MONITOR_ARGS *Args
|
IN OUT ARM_MONITOR_ARGS *Args
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (FeaturePcdGet (PcdMonitorConduitHvc)) {
|
if (FeaturePcdGet (PcdMonitorConduitHvc)) {
|
||||||
ArmCallHvc ((ARM_HVC_ARGS *)Args);
|
ArmCallHvc ((ARM_HVC_ARGS *)Args);
|
||||||
} else {
|
} else {
|
||||||
ArmCallSmc ((ARM_SMC_ARGS *)Args);
|
ArmCallSmc ((ARM_SMC_ARGS *)Args);
|
||||||
|
@ -32,7 +32,7 @@ PeCoffLoaderRelocateImageExtraAction (
|
|||||||
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
if (ImageContext->PdbPointer) {
|
if (ImageContext->PdbPointer) {
|
||||||
DEBUG ((
|
DEBUG ((
|
||||||
DEBUG_LOAD | DEBUG_INFO,
|
DEBUG_LOAD | DEBUG_INFO,
|
||||||
@ -42,7 +42,8 @@ PeCoffLoaderRelocateImageExtraAction (
|
|||||||
));
|
));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
#endif
|
||||||
|
|
||||||
DEBUG ((
|
DEBUG ((
|
||||||
DEBUG_LOAD | DEBUG_INFO,
|
DEBUG_LOAD | DEBUG_INFO,
|
||||||
@ -68,7 +69,7 @@ PeCoffLoaderUnloadImageExtraAction (
|
|||||||
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
if (ImageContext->PdbPointer) {
|
if (ImageContext->PdbPointer) {
|
||||||
DEBUG ((
|
DEBUG ((
|
||||||
DEBUG_LOAD | DEBUG_INFO,
|
DEBUG_LOAD | DEBUG_INFO,
|
||||||
@ -78,7 +79,8 @@ PeCoffLoaderUnloadImageExtraAction (
|
|||||||
));
|
));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
#endif
|
||||||
|
|
||||||
DEBUG ((
|
DEBUG ((
|
||||||
DEBUG_LOAD | DEBUG_INFO,
|
DEBUG_LOAD | DEBUG_INFO,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user