diff mbox

[-next] pci-sysfs: fix printk warnings

Message ID 20101113084433.67a92e8f.randy.dunlap@oracle.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Randy Dunlap Nov. 13, 2010, 4:44 p.m. UTC
None
diff mbox

Patch

--- linux-next-20101112.orig/drivers/pci/pci-sysfs.c
+++ linux-next-20101112/drivers/pci/pci-sysfs.c
@@ -754,7 +754,8 @@  pci_mmap_resource(struct kobject *kobj, 
 			"at page 0x%08lx on %s BAR %d (start 0x%16Lx, size 0x%16Lx)\n",
 			current->comm, vma->vm_end-vma->vm_start, vma->vm_pgoff,
 			pci_name(pdev), i,
-			pci_resource_start(pdev, i), pci_resource_len(pdev, i));
+			(u64)pci_resource_start(pdev, i),
+			(u64)pci_resource_len(pdev, i));
 		return -EINVAL;
 	}