xiaoxiang781216 commented on code in PR #7913:
URL: https://github.com/apache/nuttx/pull/7913#discussion_r1051600150


##########
include/nuttx/mm/iob.h:
##########
@@ -562,12 +562,12 @@ FAR struct iob_s *iob_pack(FAR struct iob_s *iob);
  * Name: iob_contig
  *
  * Description:
- *   Ensure that there is 'len' bytes of contiguous space at the beginning
- *   of the I/O buffer chain starting at 'iob'.
+ *   Merge an iob chain into a continuous space, thereby reducing iob
+ *   consumption
  *
  ****************************************************************************/
 
-int iob_contig(FAR struct iob_s *iob, unsigned int len);
+FAR struct iob_s *iob_contig(FAR struct iob_s *iob);

Review Comment:
   why not use iob_pack instead



-- 
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