On Sun, Sep 1, 2013 at 9:39 PM, Ben Hutchings <ben@xxxxxxxxxxxxxxx> 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); _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel