diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-12 15:13:08 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-27 09:23:58 -0700 |
commit | 7c7459d1f91abdf1e31ef80cad526e83e8b8ba4e (patch) | |
tree | 032c2e1b947b36f2dced3090d3cdf757b147bce6 /drivers/net/wan/pc300_drv.c | |
parent | aa0a2ddc54fa8a22060d17a9ca7bbc4bcc51f260 (diff) | |
download | talos-obmc-linux-7c7459d1f91abdf1e31ef80cad526e83e8b8ba4e.tar.gz talos-obmc-linux-7c7459d1f91abdf1e31ef80cad526e83e8b8ba4e.zip |
[PATCH] 64bit resource: fix up printks for resources in networks drivers
This is needed if we wish to change the size of the resource structures.
Based on an original patch from Vivek Goyal <vgoyal@in.ibm.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/wan/pc300_drv.c')
-rw-r--r-- | drivers/net/wan/pc300_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/pc300_drv.c b/drivers/net/wan/pc300_drv.c index a3e65d1bc19b..d7897ae89f90 100644 --- a/drivers/net/wan/pc300_drv.c +++ b/drivers/net/wan/pc300_drv.c @@ -3445,9 +3445,9 @@ cpc_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) card = (pc300_t *) kmalloc(sizeof(pc300_t), GFP_KERNEL); if (card == NULL) { - printk("PC300 found at RAM 0x%08lx, " + printk("PC300 found at RAM 0x%016llx, " "but could not allocate card structure.\n", - pci_resource_start(pdev, 3)); + (unsigned long long)pci_resource_start(pdev, 3)); err = -ENOMEM; goto err_disable_dev; } |