Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 690f13fcb4a7b74b30091c7067a18bb7971982d8
      
https://github.com/tianocore/edk2/commit/690f13fcb4a7b74b30091c7067a18bb7971982d8
  Author: levi.yun <[email protected]>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.c

  Log Message:
  -----------
  ArmPlatformPkg/Driver/PL061Gpio: Error checking for pin on release build

ASSERT_EFI_ERROR would be removed in release build.
This means it would trigger wrong behavior when invalid pin number given
to Get(), Set() and GetMode().

Adding error check routine for invalid pin number and before check the
pin number, check first other argument given to each function.

Signed-off-by: Levi Yun <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


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

Reply via email to