mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 07:53:33 -10:00
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 <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Jordan Justen <[email protected]> Cc: Julien Grall <[email protected]> Signed-off-by: Laszlo Ersek <[email protected]> Reviewed-by: Anthony PERARD <[email protected]> Reviewed-by: Julien Grall <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]>
This commit is contained in:
1 parent
30af652ee1
commit
2ef0c27cb8
1 file changed
+1
-1
@@ -210,7 +210,7 @@ XenBusAddDevice (
|
||||
|
||||
ErrorOpenProtocolByChild:
|
||||
gBS->UninstallMultipleProtocolInterfaces (
|
||||
&Private->Handle,
|
||||
Private->Handle,
|
||||
&gEfiDevicePathProtocolGuid, Private->DevicePath,
|
||||
&gXenBusProtocolGuid, &Private->XenBusIo,
|
||||
NULL);
|
||||
|
||||
Reference in new issue
Block a user