]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: part: Correct error handling
authorAnders Dellien <anders.dellien@arm.com>
Tue, 22 Jun 2021 09:40:01 +0000 (10:40 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jul 2021 11:13:25 +0000 (07:13 -0400)
commit7cb31e399e46a74d1d46e8b64598d86018fa4e0b
tree60082449540e1270b23862fef72a6a6baa06182b
parent2132fce7e1a56d81d5e5bdbd39b8f6500655c815
cmd: part: Correct error handling

As 'part_get_info_by_name' now returns more status codes than just
-1 to indicate failure, we need to update the return value check.

Signed-off-by: Anders Dellien <anders.dellien@arm.com>
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
cmd/part.c