summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-03-14 02:54:03 -0400
committerJeff Garzik <jgarzik@pobox.com>2011-03-14 02:54:03 -0400
commita17139b6f63709b2d409c027f8ab401f5aa136d3 (patch)
treeb6120a7a916f1b679268c969026be92eaa68fa45
parenta480167b23ef9b35ec0299bb3e1b11b4ed6b3508 (diff)
downloadop-kernel-dev-a17139b6f63709b2d409c027f8ab401f5aa136d3.zip
op-kernel-dev-a17139b6f63709b2d409c027f8ab401f5aa136d3.tar.gz
pata_arasan_cf: fix printk format string warning
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-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 b99b3fc..8b060c4 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)
OpenPOWER on IntegriCloud