Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 7861b24dc9c520449160e6322627587f0922b237
      
https://github.com/tianocore/edk2/commit/7861b24dc9c520449160e6322627587f0922b237
  Author: Robbie King <[email protected]>
  Date:   2022-07-01 (Fri, 01 Jul 2022)

  Changed paths:
    M ArmPkg/Drivers/ArmGic/ArmGicLib.c

  Log Message:
  -----------
  ArmPkg/Drivers: ArmGicIsInterruptEnabled returns incorrect value

The issue appears to have been introduced by:

41fb5d46 : ArmPkg/ArmGic: Use the GIC Redistributor instead of GIC Distributor 
for GICv3

The changes to ArmGicIsInterruptEnabled() introduced the error where the Boolean
result is assigned to Interrupts, but then the bit position check is performed
again (against the computed Boolean result instead of the interrupt mask) during
the return statement.

Fix removes erroneous test and relies on boolean test made at return.

Signed-off-by: Robbie King <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to