[U-Boot] spl: spl_mmc.c Correct blk_dread() return value check

Tom Rini trini at konsulko.com
Sun Aug 20 23:29:26 UTC 2017


On Mon, Aug 14, 2017 at 09:01:30PM -0400, Tom Rini wrote:

> The function blk_dread will return -ENOSYS on failure or on success the
> number of blocks read, which must be the number asked to read (otherwise
> it failed somewhere).  Correct this check.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>

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: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170820/4ac9e6aa/attachment.sig>


More information about the U-Boot mailing list