pata_arasan_cf: fix printk format string warning
authorJeff Garzik <jeff@garzik.org>
Mon, 14 Mar 2011 06:54:03 +0000 (02:54 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 14 Mar 2011 06:54:03 +0000 (02:54 -0400)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_arasan_cf.c

index b99b3fce307f25b8315ce5aa9cfb59428eb3e5a7..8b060c44bbe10f2ebd3356b4253b3a3656d9357a 100644 (file)
@@ -881,7 +881,8 @@ static int __devinit arasan_cf_probe(struct platform_device *pdev)
        ap->ioaddr.altstatus_addr = acdev->vbase + ATA_ASTS_DCTR;
        ap->ioaddr.ctl_addr = acdev->vbase + ATA_ASTS_DCTR;
 
-       ata_port_desc(ap, "phy_addr %x virt_addr %p", res->start, acdev->vbase);
+       ata_port_desc(ap, "phy_addr %llx virt_addr %p",
+                     (unsigned long long) res->start, acdev->vbase);
 
        ret = cf_init(acdev);
        if (ret)