diff options
author | Laszlo Ersek <lersek@redhat.com> | 2019-09-13 00:29:43 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2019-10-09 09:40:10 +0200 |
commit | f662f91cb2c8f109816c24d91957f4d254245633 (patch) | |
tree | 7770918502f0244d2d177e5daac0e901d6470232 /BaseTools/Source/Python/CommonDataClass/Exceptions.py | |
parent | 9388c6b1c17af9c8a9f451a42c066b3ae7d81fda (diff) | |
download | edk2-f662f91cb2c8f109816c24d91957f4d254245633.tar.gz edk2-f662f91cb2c8f109816c24d91957f4d254245633.tar.bz2 edk2-f662f91cb2c8f109816c24d91957f4d254245633.zip |
MdeModulePkg/PiSmmCore: make type punning consistent
The SmiHandlerRegister() function explicitly casts "SmiHandler" (of type
(SMI_HANDLER*)) to EFI_HANDLE, when outputting "DispatchHandle".
Apply the same cast in the counterpart function SmiHandlerUnRegister(),
which compares multiple "SmiHandler"s against the input "DispatchHandle".
This is a semantic cleanup; there is no functional change.
Cc: Eric Dong <eric.dong@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass/Exceptions.py')
0 files changed, 0 insertions, 0 deletions