yamt commented on PR #15603: URL: https://github.com/apache/nuttx/pull/15603#issuecomment-2601526890
> > * is it intended to drop the EINVAL check for non-iovec cases? why? > > In the uio case, you need to accumulate the length, but non-iovec not. a single size_t value alone can exceed SSIZE_MAX. > > * if you just want to save a function call for uio_init, i feel it's simpler to make it a macro and inline the iovcnt == 1 case. > > any example? https://github.com/yamt/incubator-nuttx/commit/67c9bc6f370eebb80a6a53d4466cd3da170dcf61 (not tested at all) -- 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