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 68d94b65c473e3a5b5ef0c0c6971da24779df56d Author: jingfei <[email protected]> AuthorDate: Wed Nov 11 17:20:15 2026 +0800 fs/gpt: fix nxstyle error Add the blank line after the declaration in gpt_part_set_name() that nxstyle requires. Signed-off-by: jingfei <[email protected]> --- fs/partition/fs_gpt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/partition/fs_gpt.c b/fs/partition/fs_gpt.c index ba6cbe9bfcf..e349b657eb3 100644 --- a/fs/partition/fs_gpt.c +++ b/fs/partition/fs_gpt.c @@ -358,6 +358,7 @@ static void gpt_part_set_name(FAR struct gpt_entry_s *pte, for (i = 0; i < len; i++) { uint8_t c = pte->partition_name[i]; + dest[i] = (c && !isprint(c)) ? '.' : c; }
