summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-03-14 07:54:03 +0100
committerJeff Garzik <jgarzik@pobox.com>2011-03-14 07:54:03 +0100
commita17139b6f63709b2d409c027f8ab401f5aa136d3 (patch)
treeb6120a7a916f1b679268c969026be92eaa68fa45 /drivers/ata
parentpata_arasan_cf: Adding support for arasan compact flash host controller (diff)
downloadlinux-a17139b6f63709b2d409c027f8ab401f5aa136d3.tar.xz
linux-a17139b6f63709b2d409c027f8ab401f5aa136d3.zip
pata_arasan_cf: fix printk format string warning
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_arasan_cf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/pata_arasan_cf.c b/drivers/ata/pata_arasan_cf.c
index b99b3fce307f..8b060c44bbe1 100644
--- a/drivers/ata/pata_arasan_cf.c
+++ b/drivers/ata/pata_arasan_cf.c
@@ -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)