]> git.dujemihanovic.xyz Git - u-boot.git/commit
avb: Fix error when partition not found
authorschspa <schspa@gmail.com>
Thu, 25 Feb 2021 16:19:10 +0000 (00:19 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 17 Mar 2021 16:50:19 +0000 (12:50 -0400)
commit0453411998ed4425c5c1543de53ff7474bd42eea
tree72e942379387bb5c6bc42c51a0d691b134eb33e7
parent29cbc4babf0a971986cccd73986908d1b8f07bda
avb: Fix error when partition not found

part_get_info_by_name will return -1 on error, and >0 on success.

Signed-off-by: schspa <schspa@gmail.com>
Cc: Igor Opaniuk <igor.opaniuk@gmail.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@gmail.com>
common/avb_verify.c