]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: Make retval in UninstallMultipleProtocol follow Spec
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 12 Sep 2019 06:34:06 +0000 (14:34 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 19 Feb 2020 14:43:25 +0000 (14:43 +0000)
commit0997352ddb4761c49dfedf6fef46b4cd15f6c9bf
tree57ba67328ecca60c76525c2e7126a9a69fa7f1df
parentc230c002accc4281ccc57bba7153a9b2d9b9ccd3
MdeModulePkg: Make retval in UninstallMultipleProtocol follow Spec

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1869

The UEFI spec requires that if any error occurs in
UninstallMultipleProtocolInterfaces(), EFI_INVALID_PARAMETER is returned
and not the return code of UninstallProtocolInterface().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
MdeModulePkg/Core/Dxe/Hand/Handle.c