[PATCH] cmd: part: Correct error handling

Tom Rini trini at konsulko.com
Fri Jul 23 14:34:20 CEST 2021


On Tue, Jun 22, 2021 at 10:40:01AM +0100, Anders Dellien wrote:

> 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 at arm.com>
> Reviewed-by: Sean Anderson <sean.anderson at seco.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210723/1d354e2c/attachment.sig>


More information about the U-Boot mailing list