mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	RedfishPkg: Correct %g arguments in DEBUG calls
In formatted strings, %g expects a Guid*, not a Guid. These are found in DEBUG_MANAGEABILITY, so this was only an issue when DEBUG_MANAGEABILITY logs were enabled. Signed-off-by: Jake Garver <jake@nvidia.com> Reviewed-by: Nickle Wang <nicklew@nvidia.com>
This commit is contained in:
		 Jake Garver
					Jake Garver
				
			
				
					committed by
					
						![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
						parent
						
							473a22d233
						
					
				
				
					commit
					7fa3814887
				
			| @ -1510,7 +1510,7 @@ BuildXUefiRedfishStringDatabase ( | ||||
|   UINTN                       TotalStringsAdded; | ||||
|   UINTN                       NumberPackageStrings; | ||||
|  | ||||
|   DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, "%a: Building x-UEFI-redfish string database, HII Formset GUID - %g.\n", __func__, FormsetPrivate->Guid)); | ||||
|   DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, "%a: Building x-UEFI-redfish string database, HII Formset GUID - %g.\n", __func__, &FormsetPrivate->Guid)); | ||||
|  | ||||
|   BufferSize = 0; | ||||
|   Status     = mRedfishPlatformConfigPrivate->HiiDatabase->ExportPackageLists ( | ||||
| @ -1656,7 +1656,7 @@ LoadFormset ( | ||||
|   Status                        = GetSupportedSchema (FormsetPrivate->HiiHandle, &FormsetPrivate->SupportedSchema); | ||||
|   if (EFI_ERROR (Status)) { | ||||
|     if (!RedfishPlatformConfigFeatureProp (REDFISH_PLATFORM_CONFIG_BUILD_MENU_PATH)) { | ||||
|       DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, "%a: No x-UEFI-redfish configuration found on the formset - %g\n", __func__, FormsetPrivate->Guid)); | ||||
|       DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, "%a: No x-UEFI-redfish configuration found on the formset - %g\n", __func__, &FormsetPrivate->Guid)); | ||||
|       // | ||||
|       // If there is no x-UEFI-redfish language in this form-set, we don't add formset | ||||
|       // since we don't need to build menu path for attribute registry. | ||||
| @ -2086,7 +2086,7 @@ ProcessPendingList ( | ||||
|       // | ||||
|       FormsetPrivate = GetFormsetPrivateByHiiHandle (Target->HiiHandle, FormsetList); | ||||
|       if (FormsetPrivate != NULL) { | ||||
|         DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, "%a: formset: %g is removed because driver release HII resource it already\n", __func__, FormsetPrivate->Guid)); | ||||
|         DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, "%a: formset: %g is removed because driver release HII resource it already\n", __func__, &FormsetPrivate->Guid)); | ||||
|         RemoveEntryList (&FormsetPrivate->Link); | ||||
|         ReleaseFormset (FormsetPrivate); | ||||
|         FreePool (FormsetPrivate); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user