diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-12 18:20:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-27 12:23:59 -0400 |
commit | e29419fffceb8ec36def3c922040e1ca7bcd3de5 (patch) | |
tree | c4e51cdee86dec7c859b1e7c7929c8bb2e85f36d /drivers/scsi/sata_via.c | |
parent | 685143ac1f7a579a3fac9c7f2ac8f82e95af6864 (diff) |
[PATCH] 64bit resource: fix up printks for resources in misc 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/scsi/sata_via.c')
-rw-r--r-- | drivers/scsi/sata_via.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/sata_via.c b/drivers/scsi/sata_via.c index 322890b400a6..75c4f0cbda11 100644 --- a/drivers/scsi/sata_via.c +++ b/drivers/scsi/sata_via.c | |||
@@ -335,10 +335,10 @@ static int svia_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) | |||
335 | if ((pci_resource_start(pdev, i) == 0) || | 335 | if ((pci_resource_start(pdev, i) == 0) || |
336 | (pci_resource_len(pdev, i) < bar_sizes[i])) { | 336 | (pci_resource_len(pdev, i) < bar_sizes[i])) { |
337 | dev_printk(KERN_ERR, &pdev->dev, | 337 | dev_printk(KERN_ERR, &pdev->dev, |
338 | "invalid PCI BAR %u (sz 0x%lx, val 0x%lx)\n", | 338 | "invalid PCI BAR %u (sz 0x%llx, val 0x%llx)\n", |
339 | i, | 339 | i, |
340 | pci_resource_start(pdev, i), | 340 | (unsigned long long)pci_resource_start(pdev, i), |
341 | pci_resource_len(pdev, i)); | 341 | (unsigned long long)pci_resource_len(pdev, i)); |
342 | rc = -ENODEV; | 342 | rc = -ENODEV; |
343 | goto err_out_regions; | 343 | goto err_out_regions; |
344 | } | 344 | } |