This is an automated email from the ASF dual-hosted git repository. aguettouche pushed a commit to branch pr618 in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 9c052c6d9f16b4b53ff80d16b5b53ec8e36cacb9 Author: Xiang Xiao <xiaoxi...@xiaomi.com> AuthorDate: Tue Mar 24 11:02:56 2020 +0800 arm/common: Fix nxstyle issue in arch/arm/src/common/up_checkstack.c and arch/arm/src/common/up_initialize.c Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com> --- 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 12ce6f7..55426b5 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 7389b32..35807bc 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