]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/Tpm12CommandLib/Tpm12PhysicalPresence.c
SecurityPkg: Apply uncrustify changes
[mirror_edk2.git] / SecurityPkg / Library / Tpm12CommandLib / Tpm12PhysicalPresence.c
index 6714d17d8eeec48c800b1896c860961216945ca9..034a15cf14ab16d0da728acfde52096f658beab2 100644 (file)
@@ -15,8 +15,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #pragma pack(1)\r
 \r
 typedef struct {\r
-  TPM_RQU_COMMAND_HDR   Hdr;\r
-  TPM_PHYSICAL_PRESENCE PhysicalPresence;\r
+  TPM_RQU_COMMAND_HDR      Hdr;\r
+  TPM_PHYSICAL_PRESENCE    PhysicalPresence;\r
 } TPM_CMD_PHYSICAL_PRESENCE;\r
 \r
 #pragma pack()\r
@@ -50,15 +50,15 @@ Tpm12PhysicalPresence (
   Command.Hdr.paramSize    = SwapBytes32 (sizeof (Command));\r
   Command.Hdr.ordinal      = SwapBytes32 (TSC_ORD_PhysicalPresence);\r
   Command.PhysicalPresence = SwapBytes16 (PhysicalPresence);\r
-  Length = sizeof (Response);\r
+  Length                   = sizeof (Response);\r
 \r
   Status = Tpm12SubmitCommand (sizeof (Command), (UINT8 *)&Command, &Length, (UINT8 *)&Response);\r
   if (EFI_ERROR (Status)) {\r
     return Status;\r
   }\r
 \r
-  if (SwapBytes32(Response.returnCode) != TPM_SUCCESS) {\r
-    DEBUG ((DEBUG_ERROR, "Tpm12PhysicalPresence: Response Code error! 0x%08x\r\n", SwapBytes32(Response.returnCode)));\r
+  if (SwapBytes32 (Response.returnCode) != TPM_SUCCESS) {\r
+    DEBUG ((DEBUG_ERROR, "Tpm12PhysicalPresence: Response Code error! 0x%08x\r\n", SwapBytes32 (Response.returnCode)));\r
     return EFI_DEVICE_ERROR;\r
   }\r
 \r