SecurityPkg: Change use of EFI_D_* to DEBUG_*
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739 Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines. Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
This commit is contained in:
		
				
					committed by
					
						![mergify[bot]](/avatar/e3df20cd7a67969c41a65f03bea54961?size=40) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							ca56749b0e
						
					
				
				
					commit
					e905fbb05a
				
			| @@ -124,7 +124,7 @@ Tpm2StartAuthSession ( | ||||
|     break; | ||||
|   default: | ||||
|     ASSERT (FALSE); | ||||
|     DEBUG ((EFI_D_ERROR, "Tpm2StartAuthSession - Symmetric->algorithm - %x\n", Symmetric->algorithm)); | ||||
|     DEBUG ((DEBUG_ERROR, "Tpm2StartAuthSession - Symmetric->algorithm - %x\n", Symmetric->algorithm)); | ||||
|     return EFI_UNSUPPORTED; | ||||
|   } | ||||
|  | ||||
| @@ -144,11 +144,11 @@ Tpm2StartAuthSession ( | ||||
|   } | ||||
|  | ||||
|   if (RecvBufferSize < sizeof (TPM2_RESPONSE_HEADER)) { | ||||
|     DEBUG ((EFI_D_ERROR, "Tpm2StartAuthSession - RecvBufferSize Error - %x\n", RecvBufferSize)); | ||||
|     DEBUG ((DEBUG_ERROR, "Tpm2StartAuthSession - RecvBufferSize Error - %x\n", RecvBufferSize)); | ||||
|     return EFI_DEVICE_ERROR; | ||||
|   } | ||||
|   if (SwapBytes32(RecvBuffer.Header.responseCode) != TPM_RC_SUCCESS) { | ||||
|     DEBUG ((EFI_D_ERROR, "Tpm2StartAuthSession - responseCode - %x\n", SwapBytes32(RecvBuffer.Header.responseCode))); | ||||
|     DEBUG ((DEBUG_ERROR, "Tpm2StartAuthSession - responseCode - %x\n", SwapBytes32(RecvBuffer.Header.responseCode))); | ||||
|     return EFI_DEVICE_ERROR; | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user