Fix error: more '%' conversions than data arguments

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-19 13:01:43 +08:00 committed by Petro Karashchenko
parent 3453fe799d
commit 6af9afaa60
5 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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