Re: [U-Boot] [PATCH v2] efi_loader: LocateHandle should return EFI_NOT_FOUND if none found

2017-08-09 Thread Heinrich Schuchardt
On 08/06/2017 08:10 PM, Rob Clark wrote: > 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 > --- > v2:

[U-Boot] [PATCH v2] efi_loader: LocateHandle should return EFI_NOT_FOUND if none found

2017-08-06 Thread Rob Clark
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 --- v2: early-return in the EFI_NOT_FOUND case, as suggested by Heinrich