This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 0a8b6404d8 rwbuffer: fix a typo
0a8b6404d8 is described below

commit 0a8b6404d85d745b43518228c34961338b372c4b
Author: wanggang26 <[email protected]>
AuthorDate: Fri Oct 20 15:03:12 2023 +0800

    rwbuffer: fix a typo
    
    Signed-off-by: wanggang26 <[email protected]>
---
 include/nuttx/drivers/rwbuffer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/nuttx/drivers/rwbuffer.h b/include/nuttx/drivers/rwbuffer.h
index 497ffef969..712ccf0429 100644
--- a/include/nuttx/drivers/rwbuffer.h
+++ b/include/nuttx/drivers/rwbuffer.h
@@ -137,7 +137,7 @@ struct rwbuffer_s
   /* This is the state of the read-ahead buffering */
 
 #ifdef CONFIG_DRVR_READAHEAD
-  mutex_t       rhlock;          /* Enforces exclusive access to the write 
buffer */
+  mutex_t       rhlock;          /* Enforces exclusive access to the 
read-ahead buffer */
   FAR uint8_t  *rhbuffer;        /* Allocated read-ahead buffer */
   uint16_t      rhnblocks;       /* Number of blocks in read-ahead buffer */
   off_t         rhblockstart;    /* First block in read-ahead buffer */

Reply via email to