You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2021/04/29 18:17:07 UTC

[incubator-nuttx] branch master updated: arch: fix some printf format errors

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 07cde73  arch: fix some printf format errors
07cde73 is described below

commit 07cde736bdae8a10cfad459920bd64724703b87e
Author: Juha Niskanen <ju...@haltian.com>
AuthorDate: Thu Apr 29 19:32:29 2021 +0300

    arch: fix some printf format errors
---
 arch/arm/src/efm32/efm32_usbdev.c       | 2 +-
 arch/arm/src/lpc54xx/lpc54_ethernet.c   | 2 +-
 arch/arm/src/stm32h7/stm32_otgdev.c     | 2 +-
 arch/arm/src/stm32l4/stm32l4_otgfsdev.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/src/efm32/efm32_usbdev.c b/arch/arm/src/efm32/efm32_usbdev.c
index 5b29c9c..b81b403 100644
--- a/arch/arm/src/efm32/efm32_usbdev.c
+++ b/arch/arm/src/efm32/efm32_usbdev.c
@@ -5597,7 +5597,7 @@ void arm_usbinitialize(void)
   ret = irq_attach(EFM32_IRQ_USB, efm32_usbinterrupt, NULL);
   if (ret < 0)
     {
-      uerr("ERROR: irq_attach failed\n", ret);
+      uerr("ERROR: irq_attach failed: %d\n", ret);
       goto errout;
     }
 
diff --git a/arch/arm/src/lpc54xx/lpc54_ethernet.c b/arch/arm/src/lpc54xx/lpc54_ethernet.c
index fa4499a..223dc90 100644
--- a/arch/arm/src/lpc54xx/lpc54_ethernet.c
+++ b/arch/arm/src/lpc54xx/lpc54_ethernet.c
@@ -3048,7 +3048,7 @@ int arm_netinitialize(int intf)
     {
       /* We could not attach the ISR to the interrupt */
 
-      nerr("ERROR:  irq_attach failed: %d\n", ret);
+      nerr("ERROR: irq_attach failed: %d\n", ret);
       return -EAGAIN;
     }
 
diff --git a/arch/arm/src/stm32h7/stm32_otgdev.c b/arch/arm/src/stm32h7/stm32_otgdev.c
index c5e38b7..09f6778 100644
--- a/arch/arm/src/stm32h7/stm32_otgdev.c
+++ b/arch/arm/src/stm32h7/stm32_otgdev.c
@@ -5608,7 +5608,7 @@ void arm_usbinitialize(void)
   ret = irq_attach(STM32_IRQ_OTG, stm32_usbinterrupt, NULL);
   if (ret < 0)
     {
-      uerr("irq_attach failed\n", ret);
+      uerr("ERROR: irq_attach failed: %d\n", ret);
       goto errout;
     }
 
diff --git a/arch/arm/src/stm32l4/stm32l4_otgfsdev.c b/arch/arm/src/stm32l4/stm32l4_otgfsdev.c
index 93ed1a5..2bfe4ce 100644
--- a/arch/arm/src/stm32l4/stm32l4_otgfsdev.c
+++ b/arch/arm/src/stm32l4/stm32l4_otgfsdev.c
@@ -5725,7 +5725,7 @@ void arm_usbinitialize(void)
   ret = irq_attach(STM32L4_IRQ_OTGFS, stm32l4_usbinterrupt, NULL);
   if (ret < 0)
     {
-      uerr("irq_attach failed\n", ret);
+      uerr("ERROR: irq_attach failed: %d\n", ret);
       goto errout;
     }