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 64f41827f880de54c733baf23af6638d8afc743f Author: Bowen Wang <[email protected]> AuthorDate: Tue Nov 17 15:01:43 2026 +0800 arch/ceva/src/common/ceva_heap: fix nxstyle errors Add the blank line after declarations that tools/nxstyle requires, so later changes to this file pass checkpatch. No functional change. Signed-off-by: Bowen Wang <[email protected]> --- arch/ceva/src/common/ceva_heap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/ceva/src/common/ceva_heap.c b/arch/ceva/src/common/ceva_heap.c index 6fa51925fec..7101d816e0c 100644 --- a/arch/ceva/src/common/ceva_heap.c +++ b/arch/ceva/src/common/ceva_heap.c @@ -186,6 +186,7 @@ void up_allocate_heap(void **heap_start, size_t *heap_size) for (i = 0; i < CONFIG_ARCH_NR_USER_MEMORY; i++) { size_t size = heapend[i] - bssend[i]; + if (size != 0) { mpu_user_data(bssend[i], size); @@ -209,6 +210,7 @@ void up_allocate_heap(void **heap_start, size_t *heap_size) for (i = 0; i < CONFIG_ARCH_NR_MEMORY; i++) { size_t size = g_heapend[i] - g_bssend[i]; + if (size != 0) { mpu_priv_data(g_bssend[i], size); @@ -249,6 +251,7 @@ void up_allocate_kheap(void **heap_start, size_t *heap_size) for (i = 0; i < CONFIG_ARCH_NR_MEMORY; i++) { size_t size = g_heapend[i] - g_bssend[i]; + if (size != 0) { mpu_priv_data(g_bssend[i], size);
