On Mon, Dec 5, 2016 at 7:09 PM, Fabien Parent <[email protected]> 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 <[email protected]>
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 [email protected] http://lists.denx.de/mailman/listinfo/u-boot

