efi_loader: LocateHandle should return EFI_NOT_FOUND if none found
authorRob Clark <robdclark@gmail.com>
Sun, 6 Aug 2017 18:10:07 +0000 (14:10 -0400)
committerAlexander Graf <agraf@suse.de>
Fri, 11 Aug 2017 09:08:33 +0000 (11:08 +0200)
commit796a78cbe5676fc7562b50c7a0191fa56c8c4772
tree12490cb2543ff1b5fea91179110d7d67a148fdaa
parentebf199b92f81d4c1228200bfc138aa32928bf373
efi_loader: LocateHandle should return EFI_NOT_FOUND if none found

Spotted this debugging OpenBSD's bootloader in qemu.  (Wouldn't really
fix anything, the problem was not having any disks, but we should
probably return the correct error code.)

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_boottime.c