mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-24 07:11:24 +02: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>