* [PATCH] common: blk: fix comment about blkcache_read return value
@ 2020-01-22 23:59 Eric Nelson
2020-01-25 17:10 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Eric Nelson @ 2020-01-22 23:59 UTC (permalink / raw)
To: u-boot
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-25 17:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-22 23:59 [PATCH] common: blk: fix comment about blkcache_read return value Eric Nelson
2020-01-25 17:10 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox