pkarashchenko commented on a change in pull request #5527: URL: https://github.com/apache/incubator-nuttx/pull/5527#discussion_r808839116
########## File path: libs/libnx/nxmu/nx_eventhandler.c ########## @@ -143,6 +143,10 @@ int nx_eventhandler(NXHANDLE handle) } } } + else if (nbytes == 0) + { + return OK; Review comment: Why we return `OK`, but not `ERROR` with `_NX_SETERRNO(EBADMSG);`? -- 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