diff options
| author | Tom Rini <trini@konsulko.com> | 2017-08-14 21:02:08 -0400 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2017-08-20 09:54:31 -0400 |
| commit | 42a9f147d87b6e4442d6c3074c34b08854f36ef5 (patch) | |
| tree | e04b67e130a8ae9e974770e9ef166d8f26d94403 /include/linux/string.h | |
| parent | 9585dd3fffaa8b7bd37044cc1870a45f2ca0ee3d (diff) | |
| download | u-boot-42a9f147d87b6e4442d6c3074c34b08854f36ef5.tar.gz u-boot-42a9f147d87b6e4442d6c3074c34b08854f36ef5.tar.xz u-boot-42a9f147d87b6e4442d6c3074c34b08854f36ef5.zip | |
fs/fat: 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>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
