LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] powerpc/sysdev/tsi108: Remove redundant 0x prefix in tsi108_setup_pci()
@ 2026-11-04 16:58 Thorsten Blum
  2026-11-04 17:41 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2026-11-04 16:58 UTC (permalink / raw)
  To: Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy (CS GROUP), Ritesh Harjani (IBM),
	Shrikanth Hegde, Randy Dunlap
  Cc: Thorsten Blum, linuxppc-dev, linux-kernel

The %pa format specifier already includes the 0x prefix. Remove the
redundant prefix to avoid printing 0x0x.

Fixes: 55d8bd02cc1b ("powerpc/sysdev/tsi108: fix resource printk format warnings")
Signed-off-by: Thorsten Blum <blum@kernel.org>
---
 arch/powerpc/sysdev/tsi108_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/sysdev/tsi108_pci.c b/arch/powerpc/sysdev/tsi108_pci.c
index 07d0f6a83879..dcc5e3e85dbd 100644
--- a/arch/powerpc/sysdev/tsi108_pci.c
+++ b/arch/powerpc/sysdev/tsi108_pci.c
@@ -217,7 +217,7 @@ int __init tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary)
 
 	(hose)->ops = &tsi108_direct_pci_ops;
 
-	pr_info("Found tsi108 PCI host bridge at 0x%pa. Firmware bus number: %d->%d\n",
+	pr_info("Found tsi108 PCI host bridge at %pa. Firmware bus number: %d->%d\n",
 		&rsrc.start, hose->first_busno, hose->last_busno);
 
 	/* Interpret the "ranges" property */


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] powerpc/sysdev/tsi108: Remove redundant 0x prefix in tsi108_setup_pci()
  2026-11-04 16:58 [PATCH] powerpc/sysdev/tsi108: Remove redundant 0x prefix in tsi108_setup_pci() Thorsten Blum
@ 2026-11-04 17:41 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2026-11-04 17:41 UTC (permalink / raw)
  To: Thorsten Blum, Madhavan Srinivasan, Michael Ellerman,
	Nicholas Piggin, Christophe Leroy (CS GROUP),
	Ritesh Harjani (IBM), Shrikanth Hegde
  Cc: linuxppc-dev, linux-kernel



On 11/4/26 8:58 AM, Thorsten Blum wrote:
> The %pa format specifier already includes the 0x prefix. Remove the
> redundant prefix to avoid printing 0x0x.
> 
> Fixes: 55d8bd02cc1b ("powerpc/sysdev/tsi108: fix resource printk format warnings")
> Signed-off-by: Thorsten Blum <blum@kernel.org>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.

> ---
>  arch/powerpc/sysdev/tsi108_pci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/powerpc/sysdev/tsi108_pci.c b/arch/powerpc/sysdev/tsi108_pci.c
> index 07d0f6a83879..dcc5e3e85dbd 100644
> --- a/arch/powerpc/sysdev/tsi108_pci.c
> +++ b/arch/powerpc/sysdev/tsi108_pci.c
> @@ -217,7 +217,7 @@ int __init tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary)
>  
>  	(hose)->ops = &tsi108_direct_pci_ops;
>  
> -	pr_info("Found tsi108 PCI host bridge at 0x%pa. Firmware bus number: %d->%d\n",
> +	pr_info("Found tsi108 PCI host bridge at %pa. Firmware bus number: %d->%d\n",
>  		&rsrc.start, hose->first_busno, hose->last_busno);
>  
>  	/* Interpret the "ranges" property */

-- 
~Randy


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-04 17:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-04 16:58 [PATCH] powerpc/sysdev/tsi108: Remove redundant 0x prefix in tsi108_setup_pci() Thorsten Blum
2026-11-04 17:41 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox