wengzhe commented on issue #11123: URL: https://github.com/apache/nuttx/issues/11123#issuecomment-1793651232
As far as I know, both `io_offset` and `io_len` do not count `io_offset`, which means the sum of `io_len` should be `io_offset`. If not, I believe it's the operation that makes them unequal gets wrong. You can refer to iob_test.c which always checks whether they're equal. (I don't know the official way to run this test, I put it into apps and ran it as an app previously) https://github.com/apache/nuttx/blob/c08ccbef029baedf4268756b5e221dae9a08ec65/mm/iob/iob_test.c#L62-L75 -- 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