From 3f860280e5b68b6a55a039236dfbfa29b63e3ade Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 24 Mar 2020 11:02:56 +0800 Subject: [PATCH] arm/common: Fix nxstyle issue in arch/arm/src/common/up_checkstack.c and arch/arm/src/common/up_initialize.c --- arch/arm/src/common/up_checkstack.c | 2 +- arch/arm/src/common/up_initialize.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/common/up_checkstack.c b/arch/arm/src/common/up_checkstack.c index 12ce6f797f..55426b54b2 100644 --- a/arch/arm/src/common/up_checkstack.c +++ b/arch/arm/src/common/up_checkstack.c @@ -140,7 +140,7 @@ static size_t do_stackcheck(uintptr_t alloc, size_t size, bool int_stack) int j; ptr = (FAR uint32_t *)start; - for (i = 0; i < size; i += 4*64) + for (i = 0; i < size; i += 4 * 64) { for (j = 0; j < 64; j++) { diff --git a/arch/arm/src/common/up_initialize.c b/arch/arm/src/common/up_initialize.c index 7389b324ff..35807bc0be 100644 --- a/arch/arm/src/common/up_initialize.c +++ b/arch/arm/src/common/up_initialize.c @@ -139,8 +139,8 @@ void up_initialize(void) #endif #ifdef CONFIG_ARCH_DMA - /* Initialize the DMA subsystem if the weak function up_dma_initialize has been - * brought into the build + /* Initialize the DMA subsystem if the weak function up_dma_initialize has + * been brought into the build */ #ifdef CONFIG_HAVE_WEAKFUNCTIONS