On Sun, Sep 1, 2013 at 9:39 PM, Ben Hutchings <b...@decadent.org.uk> wrote:

>         pci_addr_phys = pdev->resource[0].start;
> -       dev_info(&pdev->dev, "memory at 0x%08X\n",
> -                (unsigned int)pci_addr_phys);
> +       dev_info(&pdev->dev, "memory at 0x%08llX\n",
> +                (unsigned long long)pci_addr_phys);

You could use %pa instead for printing phys_addr_t:

dev_info(&pdev->dev, "memory at %pa\n", &pci_addr_phys);
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to