efi_loader: rework efi_locate_handle
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 6 Nov 2017 20:17:49 +0000 (21:17 +0100)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Dec 2017 12:22:56 +0000 (13:22 +0100)
commitcaf864e434b3f12bae0c7e5932045ff8c9383180
treeb42e65ce683c0cb0d5260e47274776d484d6e3a1
parentf5a2a93892ff8a8f066bc9f84eb9f0cf35ba0c67
efi_loader: rework efi_locate_handle

Check the parameters in efi_locate_handle.

Use list_for_each_entry instead of list_for_each.

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