]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: check return value of part_get_info()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 27 May 2023 06:18:28 +0000 (08:18 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 2 Jun 2023 08:59:15 +0000 (10:59 +0200)
commit1becdfcdc1eefecc061e34d7cc4eb92b403c5c4e
tree3b1858d906093ea424a46d64e239a25416f43769
parent5a2d5cbd3198c01c287fc0b284f50f89c6dec37a
efi_loader: check return value of part_get_info()

part_get_info() may return an error code. Check it.
Update function description of dp_part_node().

Addresses-Coverity-ID: 184067 ("Unchecked return value")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_device_path.c