Skip to content
Snippets Groups Projects
Commit 9585dd3f authored by Tom Rini's avatar Tom Rini
Browse files

spl: spl_mmc.c Correct blk_dread() return value check


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: default avatarTom Rini <trini@konsulko.com>
parent d03618d5
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment