From 5ce77fad1b6569ec323fe86e6b0b86297d6a1906 Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Thu, 30 Jun 2022 14:29:59 -0300 Subject: [PATCH] arch: Remove "0x" prefix preceding "%p" specifier on format string The "p" format specifier already prepends the pointer address with "0x" when printing. Signed-off-by: Gustavo Henrique Nihei --- arch/arm/src/arm/arm_schedulesigaction.c | 4 ++-- arch/arm/src/armv6-m/arm_schedulesigaction.c | 8 ++++---- arch/arm/src/armv7-a/arm_schedulesigaction.c | 8 ++++---- arch/arm/src/armv7-m/arm_schedulesigaction.c | 8 ++++---- arch/arm/src/armv7-r/arm_schedulesigaction.c | 4 ++-- arch/arm/src/armv8-m/arm_schedulesigaction.c | 8 ++++---- arch/arm/src/lc823450/lc823450_usbdev.c | 2 +- arch/arm/src/samd5e5/sam_tc.c | 2 +- arch/arm/src/samd5e5/sam_usb.c | 2 +- arch/arm/src/tiva/common/tiva_adclib.c | 2 +- arch/arm/src/tlsr82/tc32/tc32_schedulesigaction.c | 4 ++-- arch/arm/src/tlsr82/tlsr82_pwm.c | 2 +- arch/avr/src/avr/up_schedulesigaction.c | 4 ++-- arch/avr/src/avr32/up_schedulesigaction.c | 4 ++-- arch/ceva/src/common/up_schedulesigaction.c | 4 ++-- arch/mips/src/mips32/mips_schedulesigaction.c | 4 ++-- arch/misoc/src/lm32/lm32_schedulesigaction.c | 4 ++-- arch/misoc/src/minerva/minerva_schedulesigaction.c | 4 ++-- arch/or1k/src/common/up_schedulesigaction.c | 4 ++-- arch/renesas/src/m16c/m16c_schedulesigaction.c | 4 ++-- arch/renesas/src/rx65n/rx65n_schedulesigaction.c | 4 ++-- arch/renesas/src/sh1/sh1_schedulesigaction.c | 4 ++-- arch/risc-v/src/common/riscv_schedulesigaction.c | 8 ++++---- arch/sim/src/sim/up_schedulesigaction.c | 2 +- arch/sparc/src/sparc_v8/up_schedulesigaction.c | 4 ++-- arch/x86/src/i486/up_schedulesigaction.c | 4 ++-- arch/x86_64/src/intel64/up_schedulesigaction.c | 4 ++-- arch/xtensa/src/common/xtensa_schedsigaction.c | 8 ++++---- arch/z16/src/common/z16_schedulesigaction.c | 4 ++-- arch/z80/src/ez80/ez80_schedulesigaction.c | 2 +- arch/z80/src/z180/z180_schedulesigaction.c | 2 +- arch/z80/src/z8/z8_schedulesigaction.c | 2 +- arch/z80/src/z80/z80_schedulesigaction.c | 2 +- 33 files changed, 68 insertions(+), 68 deletions(-) diff --git a/arch/arm/src/arm/arm_schedulesigaction.c b/arch/arm/src/arm/arm_schedulesigaction.c index f7b7847e89..3101e085e2 100644 --- a/arch/arm/src/arm/arm_schedulesigaction.c +++ b/arch/arm/src/arm/arm_schedulesigaction.c @@ -77,7 +77,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -87,7 +87,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb == this_task()) { diff --git a/arch/arm/src/armv6-m/arm_schedulesigaction.c b/arch/arm/src/armv6-m/arm_schedulesigaction.c index a8e0788d3a..e16a7e172d 100644 --- a/arch/arm/src/armv6-m/arm_schedulesigaction.c +++ b/arch/arm/src/armv6-m/arm_schedulesigaction.c @@ -81,7 +81,7 @@ #ifndef CONFIG_SMP void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); DEBUGASSERT(tcb != NULL && sigdeliver != NULL); /* Refuse to handle nested signal actions */ @@ -92,7 +92,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to the currently executing task. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb == this_task()) { @@ -213,7 +213,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) int cpu; int me; - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -223,7 +223,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to task that is currently executing on any CPU. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb->task_state == TSTATE_TASK_RUNNING) { diff --git a/arch/arm/src/armv7-a/arm_schedulesigaction.c b/arch/arm/src/armv7-a/arm_schedulesigaction.c index f21b7a905c..249dad0a12 100644 --- a/arch/arm/src/armv7-a/arm_schedulesigaction.c +++ b/arch/arm/src/armv7-a/arm_schedulesigaction.c @@ -80,7 +80,7 @@ #ifndef CONFIG_SMP void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -90,7 +90,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to task that is currently executing on this CPU. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb == this_task()) { @@ -212,7 +212,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) int cpu; int me; - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -222,7 +222,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to task that is currently executing on any CPU. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb->task_state == TSTATE_TASK_RUNNING) { diff --git a/arch/arm/src/armv7-m/arm_schedulesigaction.c b/arch/arm/src/armv7-m/arm_schedulesigaction.c index f45d5c9304..2a8eb3292d 100644 --- a/arch/arm/src/armv7-m/arm_schedulesigaction.c +++ b/arch/arm/src/armv7-m/arm_schedulesigaction.c @@ -82,7 +82,7 @@ #ifndef CONFIG_SMP void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); DEBUGASSERT(tcb != NULL && sigdeliver != NULL); /* Refuse to handle nested signal actions */ @@ -93,7 +93,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to the currently executing task. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb == this_task()) { @@ -222,7 +222,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) int cpu; int me; - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -232,7 +232,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to task that is currently executing on any CPU. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb->task_state == TSTATE_TASK_RUNNING) { diff --git a/arch/arm/src/armv7-r/arm_schedulesigaction.c b/arch/arm/src/armv7-r/arm_schedulesigaction.c index 122d5bf441..d02f64826d 100644 --- a/arch/arm/src/armv7-r/arm_schedulesigaction.c +++ b/arch/arm/src/armv7-r/arm_schedulesigaction.c @@ -77,7 +77,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -87,7 +87,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to the currently executing task. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb == this_task()) { diff --git a/arch/arm/src/armv8-m/arm_schedulesigaction.c b/arch/arm/src/armv8-m/arm_schedulesigaction.c index e62cdcb1b2..d0ca981d5d 100644 --- a/arch/arm/src/armv8-m/arm_schedulesigaction.c +++ b/arch/arm/src/armv8-m/arm_schedulesigaction.c @@ -82,7 +82,7 @@ #ifndef CONFIG_SMP void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); DEBUGASSERT(tcb != NULL && sigdeliver != NULL); /* Refuse to handle nested signal actions */ @@ -93,7 +93,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to the currently executing task. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb == this_task()) { @@ -222,7 +222,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) int cpu; int me; - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -232,7 +232,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to task that is currently executing on any CPU. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb->task_state == TSTATE_TASK_RUNNING) { diff --git a/arch/arm/src/lc823450/lc823450_usbdev.c b/arch/arm/src/lc823450/lc823450_usbdev.c index db4050d362..60a4b8b527 100644 --- a/arch/arm/src/lc823450/lc823450_usbdev.c +++ b/arch/arm/src/lc823450/lc823450_usbdev.c @@ -401,7 +401,7 @@ static int lc823450_epconfigure(struct usbdev_ep_s *ep, priv->eplist[epnum].ep.maxpacket = GETUINT16(desc->mxpacketsize); } - DPRINTF("epnum = %d, ep = 0x%p, max = %d, speed = 0x%x, in = 0x%x\n", + DPRINTF("epnum = %d, ep = %p, max = %d, speed = 0x%x, in = 0x%x\n", epnum, ep, priv->eplist[epnum].ep.maxpacket, priv->usbdev.speed, priv->eplist[epnum].in); diff --git a/arch/arm/src/samd5e5/sam_tc.c b/arch/arm/src/samd5e5/sam_tc.c index f24ceb42eb..cc36b30829 100644 --- a/arch/arm/src/samd5e5/sam_tc.c +++ b/arch/arm/src/samd5e5/sam_tc.c @@ -729,7 +729,7 @@ TC_HANDLE sam_tc_allocate(int tc, int frequency) /* Return an opaque reference to the tc */ - tmrinfo("Returning 0x%p\n", priv); + tmrinfo("Returning %p\n", priv); return (TC_HANDLE)priv; } diff --git a/arch/arm/src/samd5e5/sam_usb.c b/arch/arm/src/samd5e5/sam_usb.c index 259e961633..7e751a3c41 100644 --- a/arch/arm/src/samd5e5/sam_usb.c +++ b/arch/arm/src/samd5e5/sam_usb.c @@ -7613,7 +7613,7 @@ static ssize_t sam_transfer(struct usbhost_driver_s *drvr, unsigned int idx = (unsigned int)ep; ssize_t nbytes; - uwarn("pipe%d buffer:0x%p buflen:%d\n", idx, buffer, buflen); + uwarn("pipe%d buffer:%p buflen:%d\n", idx, buffer, buflen); DEBUGASSERT(priv && buffer && idx < SAM_USB_NENDPOINTS && buflen > 0); pipe = &priv->pipelist[idx]; diff --git a/arch/arm/src/tiva/common/tiva_adclib.c b/arch/arm/src/tiva/common/tiva_adclib.c index 3ba066a893..ca0ac9976e 100644 --- a/arch/arm/src/tiva/common/tiva_adclib.c +++ b/arch/arm/src/tiva/common/tiva_adclib.c @@ -397,7 +397,7 @@ void tiva_adc_irq_attach(uint8_t adc, uint8_t sse, xcpt_t isr) int irq = sse2irq[SSE_IDX(adc, sse)]; #ifdef CONFIG_DEBUG_ANALOG - ainfo("assigning ISR=0x%p to ADC%d SSE%d IRQ=0x%02x...\n", + ainfo("assigning ISR=%p to ADC%d SSE%d IRQ=0x%02x...\n", isr, adc, sse, irq); #endif diff --git a/arch/arm/src/tlsr82/tc32/tc32_schedulesigaction.c b/arch/arm/src/tlsr82/tc32/tc32_schedulesigaction.c index fb0ddcd97a..cfb0df30d1 100644 --- a/arch/arm/src/tlsr82/tc32/tc32_schedulesigaction.c +++ b/arch/arm/src/tlsr82/tc32/tc32_schedulesigaction.c @@ -77,7 +77,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -87,7 +87,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb == this_task()) { diff --git a/arch/arm/src/tlsr82/tlsr82_pwm.c b/arch/arm/src/tlsr82/tlsr82_pwm.c index eb0550753e..0554dacd26 100644 --- a/arch/arm/src/tlsr82/tlsr82_pwm.c +++ b/arch/arm/src/tlsr82/tlsr82_pwm.c @@ -300,7 +300,7 @@ static int pwm_config(struct tlsr82_pwmtimer_s *priv, if (priv == NULL || info == NULL) { - pwmerr("priv or info is null, priv=0x%p info=0x%p\n", priv, info); + pwmerr("priv or info is null, priv=%p info=%p\n", priv, info); return -EINVAL; } diff --git a/arch/avr/src/avr/up_schedulesigaction.c b/arch/avr/src/avr/up_schedulesigaction.c index eced7aa732..28556bdb47 100644 --- a/arch/avr/src/avr/up_schedulesigaction.c +++ b/arch/avr/src/avr/up_schedulesigaction.c @@ -79,7 +79,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { uintptr_t reg_ptr = (uintptr_t)up_sigdeliver; - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -89,7 +89,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p g_current_regs=0x%p\n", + sinfo("rtcb=%p g_current_regs=%p\n", this_task(), g_current_regs); if (tcb == this_task()) diff --git a/arch/avr/src/avr32/up_schedulesigaction.c b/arch/avr/src/avr32/up_schedulesigaction.c index 6ca76e44fc..e537e4b8a9 100644 --- a/arch/avr/src/avr32/up_schedulesigaction.c +++ b/arch/avr/src/avr32/up_schedulesigaction.c @@ -77,7 +77,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -87,7 +87,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p g_current_regs=0x%p\n", + sinfo("rtcb=%p g_current_regs=%p\n", this_task(), g_current_regs); if (tcb == this_task()) diff --git a/arch/ceva/src/common/up_schedulesigaction.c b/arch/ceva/src/common/up_schedulesigaction.c index 13bb89983b..d92b99a582 100644 --- a/arch/ceva/src/common/up_schedulesigaction.c +++ b/arch/ceva/src/common/up_schedulesigaction.c @@ -74,7 +74,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); DEBUGASSERT(tcb != NULL && sigdeliver != NULL); /* Refuse to handle nested signal actions */ @@ -85,7 +85,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to task that is currently executing on any CPU. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb->task_state == TSTATE_TASK_RUNNING) { diff --git a/arch/mips/src/mips32/mips_schedulesigaction.c b/arch/mips/src/mips32/mips_schedulesigaction.c index e20021fe87..7e5e5147a6 100644 --- a/arch/mips/src/mips32/mips_schedulesigaction.c +++ b/arch/mips/src/mips32/mips_schedulesigaction.c @@ -80,7 +80,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { uint32_t status; - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -90,7 +90,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb == this_task()) diff --git a/arch/misoc/src/lm32/lm32_schedulesigaction.c b/arch/misoc/src/lm32/lm32_schedulesigaction.c index 88a2343589..d0a75dc438 100644 --- a/arch/misoc/src/lm32/lm32_schedulesigaction.c +++ b/arch/misoc/src/lm32/lm32_schedulesigaction.c @@ -77,7 +77,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -87,7 +87,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p g_current_regs=0x%p\n", + sinfo("rtcb=%p g_current_regs=%p\n", this_task(), g_current_regs); if (tcb == this_task()) diff --git a/arch/misoc/src/minerva/minerva_schedulesigaction.c b/arch/misoc/src/minerva/minerva_schedulesigaction.c index d41efc497b..9343449a0e 100644 --- a/arch/misoc/src/minerva/minerva_schedulesigaction.c +++ b/arch/misoc/src/minerva/minerva_schedulesigaction.c @@ -78,7 +78,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -88,7 +88,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to the currently executing task. */ - sinfo("rtcb=0x%p g_current_regs=0x%p\n", this_task(), g_current_regs); + sinfo("rtcb=%p g_current_regs=%p\n", this_task(), g_current_regs); if (tcb == this_task()) { diff --git a/arch/or1k/src/common/up_schedulesigaction.c b/arch/or1k/src/common/up_schedulesigaction.c index f6fc52b1bc..32c5c5612a 100644 --- a/arch/or1k/src/common/up_schedulesigaction.c +++ b/arch/or1k/src/common/up_schedulesigaction.c @@ -76,7 +76,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -86,7 +86,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb == this_task()) { diff --git a/arch/renesas/src/m16c/m16c_schedulesigaction.c b/arch/renesas/src/m16c/m16c_schedulesigaction.c index 7f7def8245..f1207d469b 100644 --- a/arch/renesas/src/m16c/m16c_schedulesigaction.c +++ b/arch/renesas/src/m16c/m16c_schedulesigaction.c @@ -76,7 +76,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -86,7 +86,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p g_current_regs=0x%p\n", this_task(), g_current_regs); + sinfo("rtcb=%p g_current_regs=%p\n", this_task(), g_current_regs); if (tcb == this_task()) { diff --git a/arch/renesas/src/rx65n/rx65n_schedulesigaction.c b/arch/renesas/src/rx65n/rx65n_schedulesigaction.c index 4fb80dcb5d..83eb5f719d 100644 --- a/arch/renesas/src/rx65n/rx65n_schedulesigaction.c +++ b/arch/renesas/src/rx65n/rx65n_schedulesigaction.c @@ -76,7 +76,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -86,7 +86,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p g_current_regs=0x%p\n", this_task(), g_current_regs); + sinfo("rtcb=%p g_current_regs=%p\n", this_task(), g_current_regs); if (tcb == this_task()) { diff --git a/arch/renesas/src/sh1/sh1_schedulesigaction.c b/arch/renesas/src/sh1/sh1_schedulesigaction.c index 081e78f898..1862da3f74 100644 --- a/arch/renesas/src/sh1/sh1_schedulesigaction.c +++ b/arch/renesas/src/sh1/sh1_schedulesigaction.c @@ -76,7 +76,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -86,7 +86,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p g_current_regs=0x%p\n", this_task(), g_current_regs); + sinfo("rtcb=%p g_current_regs=%p\n", this_task(), g_current_regs); if (tcb == this_task()) { diff --git a/arch/risc-v/src/common/riscv_schedulesigaction.c b/arch/risc-v/src/common/riscv_schedulesigaction.c index d9d25bc6c9..7b3071f2d8 100644 --- a/arch/risc-v/src/common/riscv_schedulesigaction.c +++ b/arch/risc-v/src/common/riscv_schedulesigaction.c @@ -81,7 +81,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { uintptr_t int_ctx; - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -91,7 +91,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb == this_task()) @@ -221,7 +221,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) int cpu; int me; - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -231,7 +231,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to task that is currently executing on any CPU. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb->task_state == TSTATE_TASK_RUNNING) { diff --git a/arch/sim/src/sim/up_schedulesigaction.c b/arch/sim/src/sim/up_schedulesigaction.c index e0e18e4a8b..ce081cf5f6 100644 --- a/arch/sim/src/sim/up_schedulesigaction.c +++ b/arch/sim/src/sim/up_schedulesigaction.c @@ -77,7 +77,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) /* We don't have to anything complex for the simulated target */ - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Make sure that interrupts are disabled */ diff --git a/arch/sparc/src/sparc_v8/up_schedulesigaction.c b/arch/sparc/src/sparc_v8/up_schedulesigaction.c index a917306eda..e6fe5e99f6 100644 --- a/arch/sparc/src/sparc_v8/up_schedulesigaction.c +++ b/arch/sparc/src/sparc_v8/up_schedulesigaction.c @@ -75,7 +75,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { irqstate_t flags; - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Make sure that interrupts are disabled */ @@ -89,7 +89,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p g_current_regs=0x%p\n", + sinfo("rtcb=%p g_current_regs=%p\n", this_task(), g_current_regs); if (tcb == this_task()) diff --git a/arch/x86/src/i486/up_schedulesigaction.c b/arch/x86/src/i486/up_schedulesigaction.c index 3218704c08..317e43a924 100644 --- a/arch/x86/src/i486/up_schedulesigaction.c +++ b/arch/x86/src/i486/up_schedulesigaction.c @@ -72,7 +72,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -82,7 +82,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to the currently executing task. */ - sinfo("rtcb=0x%p g_current_regs=0x%p\n", this_task(), g_current_regs); + sinfo("rtcb=%p g_current_regs=%p\n", this_task(), g_current_regs); if (tcb == this_task()) { diff --git a/arch/x86_64/src/intel64/up_schedulesigaction.c b/arch/x86_64/src/intel64/up_schedulesigaction.c index fc1c1716f9..d69e562d83 100644 --- a/arch/x86_64/src/intel64/up_schedulesigaction.c +++ b/arch/x86_64/src/intel64/up_schedulesigaction.c @@ -72,8 +72,8 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); - sinfo("rtcb=0x%p g_current_regs=0x%p\n", this_task(), g_current_regs); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); + sinfo("rtcb=%p g_current_regs=%p\n", this_task(), g_current_regs); /* Refuse to handle nested signal actions */ diff --git a/arch/xtensa/src/common/xtensa_schedsigaction.c b/arch/xtensa/src/common/xtensa_schedsigaction.c index 188d6a9f06..41c8dfcf72 100644 --- a/arch/xtensa/src/common/xtensa_schedsigaction.c +++ b/arch/xtensa/src/common/xtensa_schedsigaction.c @@ -80,14 +80,14 @@ #ifndef CONFIG_SMP void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); DEBUGASSERT(tcb != NULL && sigdeliver != NULL); /* Refuse to handle nested signal actions */ if (!tcb->xcp.sigdeliver) { - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); /* First, handle some special cases when the signal is being delivered * to the currently executing task. @@ -212,7 +212,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) int cpu; int me; - sinfo("tcb=0x%p sigdeliver=0x%p\n", tcb, sigdeliver); + sinfo("tcb=%p sigdeliver=%p\n", tcb, sigdeliver); /* Refuse to handle nested signal actions */ @@ -222,7 +222,7 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) * to task that is currently executing on any CPU. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + sinfo("rtcb=%p CURRENT_REGS=%p\n", this_task(), CURRENT_REGS); if (tcb->task_state == TSTATE_TASK_RUNNING) { diff --git a/arch/z16/src/common/z16_schedulesigaction.c b/arch/z16/src/common/z16_schedulesigaction.c index 49f4266907..340917e3cd 100644 --- a/arch/z16/src/common/z16_schedulesigaction.c +++ b/arch/z16/src/common/z16_schedulesigaction.c @@ -76,7 +76,7 @@ void up_schedule_sigaction(FAR struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%06x\n", tcb, (uint32_t)sigdeliver); + sinfo("tcb=%p sigdeliver=0x%06x\n", tcb, (uint32_t)sigdeliver); /* Refuse to handle nested signal actions */ @@ -86,7 +86,7 @@ void up_schedule_sigaction(FAR struct tcb_s *tcb, sig_deliver_t sigdeliver) * being delivered to the currently executing task. */ - sinfo("rtcb=0x%p g_current_regs=0x%p\n", this_task(), g_current_regs); + sinfo("rtcb=%p g_current_regs=%p\n", this_task(), g_current_regs); if (tcb == this_task()) { diff --git a/arch/z80/src/ez80/ez80_schedulesigaction.c b/arch/z80/src/ez80/ez80_schedulesigaction.c index b01edd3bf0..982b0a3eea 100644 --- a/arch/z80/src/ez80/ez80_schedulesigaction.c +++ b/arch/z80/src/ez80/ez80_schedulesigaction.c @@ -102,7 +102,7 @@ static void ez80_sigsetup(FAR struct tcb_s *tcb, sig_deliver_t sigdeliver, void up_schedule_sigaction(FAR struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%06" PRIx32 "\n", tcb, (uint32_t)sigdeliver); + sinfo("tcb=%p sigdeliver=0x%06" PRIx32 "\n", tcb, (uint32_t)sigdeliver); /* Refuse to handle nested signal actions */ diff --git a/arch/z80/src/z180/z180_schedulesigaction.c b/arch/z80/src/z180/z180_schedulesigaction.c index fee0a27599..3286f5515c 100644 --- a/arch/z80/src/z180/z180_schedulesigaction.c +++ b/arch/z80/src/z180/z180_schedulesigaction.c @@ -105,7 +105,7 @@ static void z180_sigsetup(FAR struct tcb_s *tcb, sig_deliver_t sigdeliver, void up_schedule_sigaction(FAR struct tcb_s *tcb, sig_deliver_t sigdeliver) { - _info("tcb=0x%p sigdeliver=0x%04x\n", tcb, (uint16_t)sigdeliver); + _info("tcb=%p sigdeliver=0x%04x\n", tcb, (uint16_t)sigdeliver); /* Refuse to handle nested signal actions */ diff --git a/arch/z80/src/z8/z8_schedulesigaction.c b/arch/z80/src/z8/z8_schedulesigaction.c index 55c88b2db3..a34b4a647f 100644 --- a/arch/z80/src/z8/z8_schedulesigaction.c +++ b/arch/z80/src/z8/z8_schedulesigaction.c @@ -102,7 +102,7 @@ static void z8_sigsetup(FAR struct tcb_s *tcb, sig_deliver_t sigdeliver, void up_schedule_sigaction(FAR struct tcb_s *tcb, sig_deliver_t sigdeliver) { - sinfo("tcb=0x%p sigdeliver=0x%04x\n", tcb, (uint16_t)sigdeliver); + sinfo("tcb=%p sigdeliver=0x%04x\n", tcb, (uint16_t)sigdeliver); /* Refuse to handle nested signal actions */ diff --git a/arch/z80/src/z80/z80_schedulesigaction.c b/arch/z80/src/z80/z80_schedulesigaction.c index 87d4b533b5..2eff5d4c8d 100644 --- a/arch/z80/src/z80/z80_schedulesigaction.c +++ b/arch/z80/src/z80/z80_schedulesigaction.c @@ -103,7 +103,7 @@ static void z80_sigsetup(FAR struct tcb_s *tcb, sig_deliver_t sigdeliver, void up_schedule_sigaction(FAR struct tcb_s *tcb, sig_deliver_t sigdeliver) { - _info("tcb=0x%p sigdeliver=0x%04x\n", tcb, (uint16_t)sigdeliver); + _info("tcb=%p sigdeliver=0x%04x\n", tcb, (uint16_t)sigdeliver); /* Refuse to handle nested signal actions */