From 6af9afaa60a276aba9d6c59746e60c034a974f52 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sat, 19 Nov 2022 13:01:43 +0800 Subject: [PATCH] Fix error: more '%' conversions than data arguments Signed-off-by: Xiang Xiao --- arch/arm/src/stm32/stm32_usbdev.c | 2 +- arch/arm/src/stm32/stm32_usbfs.c | 2 +- arch/arm/src/stm32f0l0g0/stm32_usbdev.c | 2 +- arch/arm/src/stm32l4/stm32l4_usbdev.c | 2 +- arch/mips/src/pic32mx/pic32mx_usbdev.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/src/stm32/stm32_usbdev.c b/arch/arm/src/stm32/stm32_usbdev.c index 22018c925c..79e0f9187a 100644 --- a/arch/arm/src/stm32/stm32_usbdev.c +++ b/arch/arm/src/stm32/stm32_usbdev.c @@ -2892,7 +2892,7 @@ static int stm32_epconfigure(struct usbdev_ep_s *ep, if (!ep || !desc) { usbtrace(TRACE_DEVERROR(STM32_TRACEERR_INVALIDPARMS), 0); - uerr("ERROR: ep=%p desc=%p\n"); + uerr("ERROR: ep=%p desc=%p\n", ep, desc); return -EINVAL; } #endif diff --git a/arch/arm/src/stm32/stm32_usbfs.c b/arch/arm/src/stm32/stm32_usbfs.c index 6c6cd46f0f..44e783dcc5 100644 --- a/arch/arm/src/stm32/stm32_usbfs.c +++ b/arch/arm/src/stm32/stm32_usbfs.c @@ -2868,7 +2868,7 @@ static int stm32_epconfigure(struct usbdev_ep_s *ep, if (!ep || !desc) { usbtrace(TRACE_DEVERROR(STM32_TRACEERR_INVALIDPARMS), 0); - uerr("ERROR: ep=%p desc=%p\n"); + uerr("ERROR: ep=%p desc=%p\n", ep, desc); return -EINVAL; } #endif diff --git a/arch/arm/src/stm32f0l0g0/stm32_usbdev.c b/arch/arm/src/stm32f0l0g0/stm32_usbdev.c index 365973a169..d08370a55b 100644 --- a/arch/arm/src/stm32f0l0g0/stm32_usbdev.c +++ b/arch/arm/src/stm32f0l0g0/stm32_usbdev.c @@ -2815,7 +2815,7 @@ static int stm32_epconfigure(struct usbdev_ep_s *ep, if (!ep || !desc) { usbtrace(TRACE_DEVERROR(STM32_TRACEERR_INVALIDPARMS), 0); - uerr("ERROR: ep=%p desc=%p\n"); + uerr("ERROR: ep=%p desc=%p\n", ep, desc); return -EINVAL; } #endif diff --git a/arch/arm/src/stm32l4/stm32l4_usbdev.c b/arch/arm/src/stm32l4/stm32l4_usbdev.c index a748a1afb1..d6bba1652e 100644 --- a/arch/arm/src/stm32l4/stm32l4_usbdev.c +++ b/arch/arm/src/stm32l4/stm32l4_usbdev.c @@ -2827,7 +2827,7 @@ static int stm32l4_epconfigure(struct usbdev_ep_s *ep, if (!ep || !desc) { usbtrace(TRACE_DEVERROR(STM32L4_TRACEERR_INVALIDPARMS), 0); - uerr("ERROR: ep=%p desc=%p\n"); + uerr("ERROR: ep=%p desc=%p\n", ep, desc); return -EINVAL; } #endif diff --git a/arch/mips/src/pic32mx/pic32mx_usbdev.c b/arch/mips/src/pic32mx/pic32mx_usbdev.c index ef292c00e9..543f36752f 100644 --- a/arch/mips/src/pic32mx/pic32mx_usbdev.c +++ b/arch/mips/src/pic32mx/pic32mx_usbdev.c @@ -3193,7 +3193,7 @@ static int pic32mx_epconfigure(struct usbdev_ep_s *ep, if (!ep || !desc) { usbtrace(TRACE_DEVERROR(PIC32MX_TRACEERR_INVALIDPARMS), 0); - uerr("ERROR: ep=%p desc=%p\n"); + uerr("ERROR: ep=%p desc=%p\n", ep, desc); return -EINVAL; } #endif