]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/XenBusDxe: fix UninstallMultipleProtocolInterfaces() call
authorLaszlo Ersek <lersek@redhat.com>
Fri, 6 Sep 2019 22:50:42 +0000 (00:50 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 9 Oct 2019 07:40:10 +0000 (09:40 +0200)
commit2ef0c27cb84c6366702394558c707f6f94b8f647
tree5210ea4c5ceca56f180a73d1b8c1f5f8c23f666c
parent30af652ee1676f8f4226aea9f54a738e0896f910
OvmfPkg/XenBusDxe: fix UninstallMultipleProtocolInterfaces() call

Unlike the InstallMultipleProtocolInterfaces() boot service, which takes
an (EFI_HANDLE*) as first parameter, the
UninstallMultipleProtocolInterfaces() boot service takes an EFI_HANDLE as
first parameter.

This is an actual bug. It must have remained hidden until now because it's
on an error path. Fix the UninstallMultipleProtocolInterfaces() call.

Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Julien Grall <julien.grall@arm.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
OvmfPkg/XenBusDxe/XenBus.c