On Mon, Dec 5, 2016 at 7:09 PM, Fabien Parent <fpar...@baylibre.com> wrote: > In spi_flash_scan, 'ret' is initialled to -1, but 'ret' is not always > used to store a return value, in that case, even when the function > succeed, an error (-1) will be returned. > Lets just return 0 if we hit the end of the function. > > Signed-off-by: Fabien Parent <fpar...@baylibre.com>
Applied to u-boot-spi/master thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad, India. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot