mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
common: blk: fix comment about blkcache_read return value
The blkcache_read() routine returns 1 (true) to indicate that a block was found in the cache and returned, or 0 if not. Signed-off-by: Eric Nelson <eric@nelint.com>
This commit is contained in:
parent
5073e04351
commit
50fe8df2c2
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ int blkcache_init(void);
|
|||
* @param blksz - size in bytes of each block
|
||||
* @param buf - buffer to contain cached data
|
||||
*
|
||||
* @return - '1' if block returned from cache, '0' otherwise.
|
||||
* @return - 1 if block returned from cache, 0 otherwise.
|
||||
*/
|
||||
int blkcache_read(int iftype, int dev,
|
||||
lbaint_t start, lbaint_t blkcnt,
|
||||
|
|
Loading…
Reference in a new issue