Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a04e8f8 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller
Browse files

net: ethernet: davinci_emac: Fix printing of base address



Use %pa which is the correct formatter to print a physical address,
instead of %p which is just a pointer.

Fixes: a6286ee6 ("net: Add TI DaVinci EMAC driver")
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bf2ce3fd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1930,8 +1930,8 @@ static int davinci_emac_probe(struct platform_device *pdev)

	if (netif_msg_probe(priv)) {
		dev_notice(&pdev->dev, "DaVinci EMAC Probe found device "
			   "(regs: %p, irq: %d)\n",
			   (void *)priv->emac_base_phys, ndev->irq);
			   "(regs: %pa, irq: %d)\n",
			   &priv->emac_base_phys, ndev->irq);
	}
	pm_runtime_put(&pdev->dev);