]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: fix efi_dp_find_obj()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 4 Mar 2022 07:20:00 +0000 (08:20 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 20 Mar 2022 10:03:06 +0000 (11:03 +0100)
commit747062df1bb5a6523bb63988a288bc244cd4ca12
treecde5993779801ea225a491a1580b985831f095d3
parentd6c90c8f392b4c00e40de2bae9b0d9edb9d72617
efi_loader: fix efi_dp_find_obj()

efi_dp_find_obj() should not return any handle with a partially matching
device path but the handle with the maximum matching device path.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_loader.h
lib/efi_loader/efi_device_path.c