anchao commented on code in PR #6389: URL: https://github.com/apache/incubator-nuttx/pull/6389#discussion_r893317118
########## include/sys/ipc.h: ########## @@ -35,10 +35,10 @@ /* Mode bits: The lower order 9-bit bits are the standard mode bits */ -#define IPC_MODE 0x01ff /* Mode bit mask */ -#define IPC_CREAT (1 << 10) /* Create entry if key does not exist */ -#define IPC_EXCL (1 << 11) /* Fail if key exists */ -#define IPC_NOWAIT (1 << 12) /* Error if request must wait */ +#define IPC_MODE 0x0fff /* Mode bit mask */ Review Comment: ipc mode is a private implementation of nuttx, which is used as a mask in the source code. dur to changes in other IPC_* definitions, IPC_MODE also needs to be modified accordingly -- 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