On 11/4/26 9:28 AM, Thorsten Blum wrote:
> 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.

> ---
>  arch/powerpc/platforms/52xx/mpc52xx_pci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/powerpc/platforms/52xx/mpc52xx_pci.c 
> b/arch/powerpc/platforms/52xx/mpc52xx_pci.c
> index 0ca4401ba781..a2e53cacd15b 100644
> --- a/arch/powerpc/platforms/52xx/mpc52xx_pci.c
> +++ b/arch/powerpc/platforms/52xx/mpc52xx_pci.c
> @@ -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,

-- 
~Randy

Reply via email to