From: Tom Rini Date: Fri, 10 Aug 2018 21:45:08 -0400 Subject: [U-Boot] sata: fix sata_Probe return value check In-Reply-To: <20180727234526.307-1-troy.kisky@boundarydevices.com> References: <20180727234526.307-1-troy.kisky@boundarydevices.com> Message-ID: <20180811014508.GT29229@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass > > 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: