summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Nelson <eric@nelint.com>2020-01-22 16:59:55 -0700
committerTom Rini <trini@konsulko.com>2020-01-25 12:04:36 -0500
commit50fe8df2c2cb863e0ab7d4c1240f2216ba184922 (patch)
tree17315feb03ab52ced4e3bbdbe4f51cd736ff3916 /include
parent5073e043518751b87f6a1dee82dd8b8b78198134 (diff)
downloadu-boot-50fe8df2c2cb863e0ab7d4c1240f2216ba184922.tar.gz
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>
Diffstat (limited to 'include')
-rw-r--r--include/blk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/blk.h b/include/blk.h
index 65db69f5d9..6f541bb2ba 100644
--- a/include/blk.h
+++ b/include/blk.h
@@ -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,