]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] 8139cp.c printk fix
authorAndrew Morton <akpm@osdl.org>
Fri, 7 Jul 2006 06:58:26 +0000 (23:58 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 12 Jul 2006 21:42:40 +0000 (17:42 -0400)
drivers/net/8139cp.c: In function 'cp_init_one':
drivers/net/8139cp.c:1919: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t'
drivers/net/8139cp.c:1919: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'resource_size_t'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/8139cp.c

index d2150baa7e351eb48ffc5a86c54d62c060a06161..1428bb7715afd16a04fb6132cd560b420636d111 100644 (file)
@@ -1916,7 +1916,7 @@ static int cp_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
        regs = ioremap(pciaddr, CP_REGS_SIZE);
        if (!regs) {
                rc = -EIO;
-               dev_err(&pdev->dev, "Cannot map PCI MMIO (%lx@%lx)\n",
+               dev_err(&pdev->dev, "Cannot map PCI MMIO (%Lx@%Lx)\n",
                       (unsigned long long)pci_resource_len(pdev, 1),
                       (unsigned long long)pciaddr);
                goto err_out_res;