1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00
Files
u-boot-megous/cmd
Tom Rini d03618d5cb cmd/read.c: Fix checking blk_dread return value
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.

Reported-by: Coverity (CID: 166335)
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2017-08-20 09:54:30 -04:00
..
2017-02-08 15:56:28 -05:00
2017-04-12 13:28:27 -04:00
2017-08-16 08:30:24 -04:00
2017-07-03 17:35:28 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2016-09-09 15:53:14 -04:00
2017-06-16 10:11:42 -04:00
2016-05-02 18:37:09 -04:00
2017-08-16 08:30:24 -04:00
2016-04-18 17:11:36 -04:00
2017-08-16 08:30:24 -04:00
2017-01-20 09:15:24 -05:00
2017-03-28 06:27:54 +02:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-13 15:17:32 -04:00
2017-02-08 15:56:28 -05:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-13 15:17:32 -04:00
2016-10-06 20:57:42 -04:00
2017-08-16 08:22:18 -04:00
2017-08-11 15:41:51 -04:00
2017-06-12 08:37:55 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2016-03-27 09:12:55 -04:00
2017-08-16 08:30:24 -04:00