mm/iob: Support neg offset in iob_clone

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
This commit is contained in:
Zhe Weng 2023-02-07 20:00:59 +08:00 committed by Petro Karashchenko
parent fb861c0a29
commit cd1decf4a5
2 changed files with 7 additions and 7 deletions

View file

@ -476,8 +476,8 @@ int iob_clone(FAR struct iob_s *iob1, FAR struct iob_s *iob2,
****************************************************************************/
int iob_clone_partial(FAR struct iob_s *iob1, unsigned int len,
unsigned int offset1, FAR struct iob_s *iob2,
unsigned int offset2, bool throttled, bool block);
int offset1, FAR struct iob_s *iob2,
int offset2, bool throttled, bool block);
/****************************************************************************
* Name: iob_concat