diff options
author | Tom Rini <trini@konsulko.com> | 2017-08-15 01:00:44 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-08-21 09:31:11 (GMT) |
commit | 6bafa5a4bd7c4d85f86178aee8adb6040d8df4a3 (patch) | |
tree | 2a662c93b6fefcb482de20dec4a82f6d4e0856a3 /drivers/Kconfig | |
parent | 2341c80cd261291aff2c58b70bacc053ecca9d1d (diff) | |
download | u-boot-6bafa5a4bd7c4d85f86178aee8adb6040d8df4a3.tar.xz |
fb_mmc.c: Correct blk_dread() return value checks
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.
Cc: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions