[U-Boot] sata: fix sata_Probe return value check
Tom Rini
trini at konsulko.com
Sat Aug 11 01:45:08 UTC 2018
On Fri, Jul 27, 2018 at 04:45:26PM -0700, Troy Kisky wrote:
> sata_probe returns 1 for failure, so don't checkout for < 0
>
> fixes: f19f1ecb6025 dm: sata: Support driver model with the 'sata' command
>
> Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> diff --git a/cmd/sata.c b/cmd/sata.c
> index cc12afb07e..4f0c6e0137 100644
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180810/dd9c4087/attachment.sig>
More information about the U-Boot
mailing list