powerpc/mpc52xx: Remove redundant 0x prefix in mpc52xx_pci_setup()
Subsystems (2)
PATCH 1/1 powerpc/mpc52xx: Remove redundant 0x prefix in mpc52xx_pci_setup()
The %pa format specifier already includes the 0x prefix. Remove the redundant prefix to avoid printing 0x0x.
Fixes 59510820fff7 ("powerpc/mpc52xx: Fix some pr_debug() issues")
Signed-off-by Thorsten Blum <[email protected]>
--- arch/powerpc/platforms/52xx/mpc52xx_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/52xx/mpc52xx_pci.c +1 -1
@@ -288,7 +288,7 @@ mpc52xx_pci_setup(struct pci_controller *hose,printk (KERN_ERR "%s: Didn't find IO resources\n" , __FILE__);return ; } -pr_debug (".io_resource = %pr .io_base_phys=0x%pa\n" , +pr_debug (".io_resource = %pr .io_base_phys=%pa\n" , res, &hose->io_base_phys); out_be32(&pci_regs->iw2btar, MPC52xx_PCI_IWBTAR_TRANSLATION(hose->io_base_phys,
Quoted 5 lines · Thorsten Blum
The %pa format specifier already includes the 0x prefix. Remove the redundant prefix to avoid printing 0x0x.
Fixes 59510820fff7 ("powerpc/mpc52xx: Fix some pr_debug() issues")Signed-off-by Thorsten Blum <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Thanks.
Quoted 17 lines
--- arch/powerpc/platforms/52xx/mpc52xx_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/platforms/52xx/mpc52xx_pci.c +1
-1@@ -288,7 +288,7 @@ mpc52xx_pci_setup(struct pci_controller *hose,printk (KERN_ERR "%s: Didn't find IO resources\n" , __FILE__);return ; } -pr_debug (".io_resource = %pr .io_base_phys=0x%pa\n" , +pr_debug (".io_resource = %pr .io_base_phys=%pa\n" , res, &hose->io_base_phys); out_be32(&pci_regs->iw2btar, MPC52xx_PCI_IWBTAR_TRANSLATION(hose->io_base_phys,
Signature · 1 line
~Randy