gustavonihei commented on code in PR #6279: URL: https://github.com/apache/incubator-nuttx/pull/6279#discussion_r876240198
########## include/nuttx/mutex.h: ########## @@ -42,6 +44,13 @@ typedef sem_t mutex_t; +typedef struct +{ + mutex_t mutex; + pid_t holder; + uint16_t count; +} rmutex_t; Review Comment: ```suggestion struct rmutex_s { mutex_t mutex; pid_t holder; uint16_t count; }; typedef struct rmutex_s rmutex_t; ``` NuttX coding standard forbids unnamed structs: https://nuttx.apache.org/docs/latest/contributing/coding_style.html#structures -- 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