powerpc/sysdev/tsi108: Remove redundant 0x prefix in tsi108_setup_pci()
PATCH 1/1 powerpc/sysdev/tsi108: Remove redundant 0x prefix in tsi108_setup_pci()
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 <[email protected]>
--- arch/powerpc/sysdev/tsi108_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/sysdev/tsi108_pci.c +1 -1
@@ -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 */
Quoted 5 lines · Thorsten Blum
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 <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Thanks.
Quoted 17 lines
--- arch/powerpc/sysdev/tsi108_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/sysdev/tsi108_pci.c +1
-1@@ -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 */
Signature · 1 line
~Randy