xiaoxiang781216 commented on a change in pull request #3070: URL: https://github.com/apache/incubator-nuttx/pull/3070#discussion_r595384092
########## File path: fs/mmap/fs_mmap.c ########## @@ -142,6 +148,30 @@ FAR void *mmap(FAR void *start, size_t length, int prot, int flags, } #endif + if (fs_getfilep(fd, &filep) < 0) Review comment: but caller should expect that the implementation may return the additional errno which not specify in the spec. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org