mirror of
https://github.com/frank-w/u-boot.git
synced 2026-01-12 22:56:45 +08:00
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@konsulko.com>