From 7fde8a3d29481e471d171d302624ea62f78c68ef Mon Sep 17 00:00:00 2001 From: Marco Casaroli Date: Thu, 8 Oct 2026 12:21:27 +0200 Subject: [PATCH] sched/init: Fix the nxstyle error in nx_start.c. nxstyle reports "Bad left brace alignment" for the block that sets up the heaps in nx_start(). Indent the block like the code around it, because CI checks every file that a change touches. No functional change. The change is whitespace only. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli --- sched/init/nx_start.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/sched/init/nx_start.c b/sched/init/nx_start.c index b9bcb07fb2f..1425087ab3c 100644 --- a/sched/init/nx_start.c +++ b/sched/init/nx_start.c @@ -541,38 +541,38 @@ void nx_start(void) defined(CONFIG_MM_PGALLOC) /* Initialize the memory manager */ - { - FAR void *heap_start; - size_t heap_size; + { + FAR void *heap_start; + size_t heap_size; #ifdef MM_KERNEL_USRHEAP_INIT - /* Get the user-mode heap from the platform specific code and configure - * the user-mode memory allocator. - */ + /* Get the user-mode heap from the platform specific code and configure + * the user-mode memory allocator. + */ - up_allocate_heap(&heap_start, &heap_size); - kumm_initialize(heap_start, heap_size); + up_allocate_heap(&heap_start, &heap_size); + kumm_initialize(heap_start, heap_size); #endif #ifdef CONFIG_MM_KERNEL_HEAP - /* Get the kernel-mode heap from the platform specific code and - * configure the kernel-mode memory allocator. - */ + /* Get the kernel-mode heap from the platform specific code and + * configure the kernel-mode memory allocator. + */ - up_allocate_kheap(&heap_start, &heap_size); - kmm_initialize(heap_start, heap_size); + up_allocate_kheap(&heap_start, &heap_size); + kmm_initialize(heap_start, heap_size); #endif #ifdef CONFIG_MM_PGALLOC - /* If there is a page allocator in the configuration, then get the page - * heap information from the platform-specific code and configure the - * page allocator. - */ + /* If there is a page allocator in the configuration, then get the page + * heap information from the platform-specific code and configure the + * page allocator. + */ - up_allocate_pgheap(&heap_start, &heap_size); - mm_pginitialize(heap_start, heap_size); + up_allocate_pgheap(&heap_start, &heap_size); + mm_pginitialize(heap_start, heap_size); #endif - } + } #endif #ifdef CONFIG_MM_KMAP