]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandler.c
Remove out of date comment and fix gcc warning.
[mirror_edk2.git] / ArmPkg / Library / DefaultExceptionHandlerLib / DefaultExceptionHandler.c
index 996a6772ec92dc03d7e8aee00253e87b29e2fbd1..8180c42cabdce4b5840a19b34f6e3639e9c44c73 100644 (file)
@@ -291,7 +291,7 @@ DefaultExceptionHandler (
   if (DfsrStatus != 0x00) {\r
     DEBUG ((EFI_D_ERROR, " %a: %a 0x%08x\n", FaultStatusToString (DfsrStatus), DfsrWrite ? "write to" : "read from", SystemContext.SystemContextArm->DFAR));\r
   }\r
-  if (SystemContext.SystemContextArm->IFSR & 0xf != 0x00) {\r
+  if ((SystemContext.SystemContextArm->IFSR & 0xf) != 0x00) {\r
     DEBUG ((EFI_D_ERROR, "Instruction %a at 0x%08x, \n", FaultStatusToString (SystemContext.SystemContextArm->IFSR & 0xf), SystemContext.SystemContextArm->IFAR));\r
   }\r
 \r