]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: incorrect return value form DisconnectController
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 13 Sep 2019 16:20:40 +0000 (18:20 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 20 Sep 2019 18:09:18 +0000 (20:09 +0200)
commit12ab09d867e713b35ff872ad29d04c2b17659f6e
tree05cbfee83064e3dc62e796a883e77765543c5680
parentd71f8c79d46bc26e9848d7399d9f929f9d4190d4
efi_loader: incorrect return value form DisconnectController

DisconnectController() should never return EFI_NOT_FOUND.
If EFI_DRIVER_BINDING_PROTOCOL.Stop() fails, return EFI_DEVICE_ERROR.

If the driver handle does not expose the EFI_DRIVER_BINDING_PROTOCOL
return EFI_INVALID_PARAMETER.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c