This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 9fa98394f58c1e68fa74fa270535727286275690
Author: YAMAMOTO Takashi <yamam...@midokura.com>
AuthorDate: Thu Nov 26 11:16:31 2020 +0900

    arch/arm/src/stm32/stm32_dma_v2.c: Fix a syslog format
---
 arch/arm/src/stm32/stm32_dma_v2.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/src/stm32/stm32_dma_v2.c 
b/arch/arm/src/stm32/stm32_dma_v2.c
index bd0dabb..7b582ac 100644
--- a/arch/arm/src/stm32/stm32_dma_v2.c
+++ b/arch/arm/src/stm32/stm32_dma_v2.c
@@ -872,7 +872,8 @@ bool stm32_dmacapable(uintptr_t maddr, uint32_t count, 
uint32_t ccr)
   uint32_t burst_length;
   uint32_t mend;
 
-  dmainfo("stm32_dmacapable: 0x%08x/%u 0x%08x\n", maddr, count, ccr);
+  dmainfo("stm32_dmacapable: 0x%08" PRIxPTR "/%" PRIu32 " 0x%08" PRIx32 "\n",
+          maddr, count, ccr);
 
   /* Verify that the address conforms to the memory transfer size.
    * Transfers to/from memory performed by the DMA controller are

Reply via email to