common: blk: fix comment about blkcache_read return value
PATCH 1/1 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 <[email protected]>
--- include/blk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/blk.h +1 -1
@@ -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,
Signature · 1 line
2.17.1
PATCH 1/1 common: blk: fix comment about blkcache_read return value
Quoted 4 lines · Eric Nelson
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 <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200125/8fd89210/attachment.sig>