]> git.baikalelectronics.ru Git - uboot.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)
commit2763a6c09935d79edf1fcad0f6cffdb6765d9c4a
tree3b1858d906093ea424a46d64e239a25416f43769
parent35f1f494f21cd76da0d1ef0e65c5d931304c73be
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