This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 5e303d3cd2f68d3d62a1a3a67101dbdb01ee608e Author: Marco Casaroli <[email protected]> AuthorDate: Mon Oct 19 02:03:21 2026 +0200 fs/romfs: Fix the nxstyle error in fs_romfsutil.c. Put the body of a while loop on its own line in braces. This error is older than the next change. This change does not change the code. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- fs/romfs/fs_romfsutil.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/romfs/fs_romfsutil.c b/fs/romfs/fs_romfsutil.c index fc081f61710..17a1c9309c5 100644 --- a/fs/romfs/fs_romfsutil.c +++ b/fs/romfs/fs_romfsutil.c @@ -967,7 +967,10 @@ int romfs_finddirentry(FAR struct romfs_mountpt_s *rm, { /* Find the start of the next path component */ - while (*entryname == '/') entryname++; + while (*entryname == '/') + { + entryname++; + } /* Find the end of the next path component */
