On Wed, Apr 20, 2016 at 11:01:56AM -0400, Tom Rini wrote:

> Previously, ret could be used uninitialized if
> blk_get_device_part_str() failed.  Default to ret being set to -1 so
> that we always return an err up if we have a problem and then invert the
> logic on testing ums_count as when that is non-zero is the time we can
> return 0.
> 
> Cc: John Tobias <john.tobias...@gmail.com>
> Acked-by: Marek Vasut <ma...@denx.de>
> Signed-off-by: Tom Rini <tr...@konsulko.com>

With the brace changes Marek suggested, applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to