Donny9 commented on a change in pull request #5856: URL: https://github.com/apache/incubator-nuttx/pull/5856#discussion_r835832612
########## File path: fs/rpmsgfs/rpmsgfs_client.c ########## @@ -727,11 +727,13 @@ int rpmsgfs_client_rename(FAR void *handle, FAR const char *oldpath, size_t len; size_t oldlen; size_t newlen; + size_t alignlen; uint32_t space; - oldlen = strlen(oldpath) + 1; - newlen = strlen(newpath) + 1; - len = sizeof(*msg) + oldlen + newlen; + oldlen = strlen(oldpath) + 1; + alignlen = (oldlen + 0x7) & ~0x7; Review comment: Let's keep it the same as rpmsgfs_server.c:rpmsgfs_rename_handler? -- 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