xiaoxiang781216 commented on code in PR #6965:
URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r988543494


##########
drivers/misc/rwbuffer.c:
##########
@@ -68,58 +68,26 @@ static ssize_t rwb_read_(FAR struct rwbuffer_s *rwb, off_t 
startblock,
  ****************************************************************************/
 
 /****************************************************************************
- * Name: rwb_semtake
+ * Name: rwb_lock
  ****************************************************************************/
 
 #if defined(CONFIG_DRVR_WRITEBUFFER)
-static int rwb_semtake(FAR sem_t *sem)
+static int rwb_lock(FAR mutex_t *lock)
 {
-  return nxsem_wait_uninterruptible(sem);
+  return nxmutex_lock(lock);

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to