commit | 195bc4bc6b393647bf002df0096abf995e94e89e | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Mon Aug 14 21:01:30 2017 -0400 |
committer | Tom Rini <trini@konsulko.com> | Sun Aug 20 09:54:30 2017 -0400 |
tree | 9ae5992d93536267e835a590330d63a72d9682bd | |
parent | 60ab606a880a2c49f50897709cc2288219a75059 [diff] |
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: Tom Rini <trini@konsulko.com>