]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
common: blk: fix comment about blkcache_read return value
authorEric Nelson <eric@nelint.com>
Wed, 22 Jan 2020 23:59:55 +0000 (16:59 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 25 Jan 2020 17:04:36 +0000 (12:04 -0500)
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>
include/blk.h

index 65db69f5d9eb771d6c91709da27ba3b24e2afb3e..6f541bb2bae484ae594d022b496ef44f3d0bd932 100644 (file)
@@ -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,