diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/devices/pmc551.c | 8 | ||||
-rw-r--r-- | drivers/mtd/maps/amd76xrom.c | 5 | ||||
-rw-r--r-- | drivers/mtd/maps/ichxrom.c | 5 | ||||
-rw-r--r-- | drivers/mtd/maps/scx200_docflash.c | 5 | ||||
-rw-r--r-- | drivers/mtd/maps/sun_uflash.c | 5 |
5 files changed, 16 insertions, 12 deletions
diff --git a/drivers/mtd/devices/pmc551.c b/drivers/mtd/devices/pmc551.c index f620d74f1004..30f07b473ae2 100644 --- a/drivers/mtd/devices/pmc551.c +++ b/drivers/mtd/devices/pmc551.c | |||
@@ -551,11 +551,11 @@ static u32 fixup_pmc551 (struct pci_dev *dev) | |||
551 | /* | 551 | /* |
552 | * Some screen fun | 552 | * Some screen fun |
553 | */ | 553 | */ |
554 | printk(KERN_DEBUG "pmc551: %d%c (0x%x) of %sprefetchable memory at 0x%lx\n", | 554 | printk(KERN_DEBUG "pmc551: %d%c (0x%x) of %sprefetchable memory at 0x%llx\n", |
555 | (size<1024)?size:(size<1048576)?size>>10:size>>20, | 555 | (size<1024)?size:(size<1048576)?size>>10:size>>20, |
556 | (size<1024)?'B':(size<1048576)?'K':'M', | 556 | (size<1024)?'B':(size<1048576)?'K':'M', |
557 | size, ((dcmd&(0x1<<3)) == 0)?"non-":"", | 557 | size, ((dcmd&(0x1<<3)) == 0)?"non-":"", |
558 | (dev->resource[0].start)&PCI_BASE_ADDRESS_MEM_MASK ); | 558 | (unsigned long long)((dev->resource[0].start)&PCI_BASE_ADDRESS_MEM_MASK)); |
559 | 559 | ||
560 | /* | 560 | /* |
561 | * Check to see the state of the memory | 561 | * Check to see the state of the memory |
@@ -685,8 +685,8 @@ static int __init init_pmc551(void) | |||
685 | break; | 685 | break; |
686 | } | 686 | } |
687 | 687 | ||
688 | printk(KERN_NOTICE "pmc551: Found PCI V370PDC at 0x%lX\n", | 688 | printk(KERN_NOTICE "pmc551: Found PCI V370PDC at 0x%llx\n", |
689 | PCI_Device->resource[0].start); | 689 | (unsigned long long)PCI_Device->resource[0].start); |
690 | 690 | ||
691 | /* | 691 | /* |
692 | * The PMC551 device acts VERY weird if you don't init it | 692 | * The PMC551 device acts VERY weird if you don't init it |
diff --git a/drivers/mtd/maps/amd76xrom.c b/drivers/mtd/maps/amd76xrom.c index c350878d4592..a50587005263 100644 --- a/drivers/mtd/maps/amd76xrom.c +++ b/drivers/mtd/maps/amd76xrom.c | |||
@@ -123,9 +123,10 @@ static int __devinit amd76xrom_init_one (struct pci_dev *pdev, | |||
123 | window->rsrc.parent = NULL; | 123 | window->rsrc.parent = NULL; |
124 | printk(KERN_ERR MOD_NAME | 124 | printk(KERN_ERR MOD_NAME |
125 | " %s(): Unable to register resource" | 125 | " %s(): Unable to register resource" |
126 | " 0x%.08lx-0x%.08lx - kernel bug?\n", | 126 | " 0x%.16llx-0x%.16llx - kernel bug?\n", |
127 | __func__, | 127 | __func__, |
128 | window->rsrc.start, window->rsrc.end); | 128 | (unsigned long long)window->rsrc.start, |
129 | (unsigned long long)window->rsrc.end); | ||
129 | } | 130 | } |
130 | 131 | ||
131 | #if 0 | 132 | #if 0 |
diff --git a/drivers/mtd/maps/ichxrom.c b/drivers/mtd/maps/ichxrom.c index ea5073781b3a..16732794edf3 100644 --- a/drivers/mtd/maps/ichxrom.c +++ b/drivers/mtd/maps/ichxrom.c | |||
@@ -177,9 +177,10 @@ static int __devinit ichxrom_init_one (struct pci_dev *pdev, | |||
177 | window->rsrc.parent = NULL; | 177 | window->rsrc.parent = NULL; |
178 | printk(KERN_DEBUG MOD_NAME | 178 | printk(KERN_DEBUG MOD_NAME |
179 | ": %s(): Unable to register resource" | 179 | ": %s(): Unable to register resource" |
180 | " 0x%.08lx-0x%.08lx - kernel bug?\n", | 180 | " 0x%.16llx-0x%.16llx - kernel bug?\n", |
181 | __func__, | 181 | __func__, |
182 | window->rsrc.start, window->rsrc.end); | 182 | (unsigned long long)window->rsrc.start, |
183 | (unsigned long long)window->rsrc.end); | ||
183 | } | 184 | } |
184 | 185 | ||
185 | /* Map the firmware hub into my address space. */ | 186 | /* Map the firmware hub into my address space. */ |
diff --git a/drivers/mtd/maps/scx200_docflash.c b/drivers/mtd/maps/scx200_docflash.c index 28b8a571a91a..331a15859d71 100644 --- a/drivers/mtd/maps/scx200_docflash.c +++ b/drivers/mtd/maps/scx200_docflash.c | |||
@@ -164,8 +164,9 @@ static int __init init_scx200_docflash(void) | |||
164 | outl(pmr, scx200_cb_base + SCx200_PMR); | 164 | outl(pmr, scx200_cb_base + SCx200_PMR); |
165 | } | 165 | } |
166 | 166 | ||
167 | printk(KERN_INFO NAME ": DOCCS mapped at 0x%lx-0x%lx, width %d\n", | 167 | printk(KERN_INFO NAME ": DOCCS mapped at 0x%llx-0x%llx, width %d\n", |
168 | docmem.start, docmem.end, width); | 168 | (unsigned long long)docmem.start, |
169 | (unsigned long long)docmem.end, width); | ||
169 | 170 | ||
170 | scx200_docflash_map.size = size; | 171 | scx200_docflash_map.size = size; |
171 | if (width == 8) | 172 | if (width == 8) |
diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c index 24a03152d196..4db2055cee31 100644 --- a/drivers/mtd/maps/sun_uflash.c +++ b/drivers/mtd/maps/sun_uflash.c | |||
@@ -62,9 +62,10 @@ int uflash_devinit(struct linux_ebus_device *edev, struct device_node *dp) | |||
62 | /* Non-CFI userflash device-- once I find one we | 62 | /* Non-CFI userflash device-- once I find one we |
63 | * can work on supporting it. | 63 | * can work on supporting it. |
64 | */ | 64 | */ |
65 | printk("%s: unsupported device at 0x%lx (%d regs): " \ | 65 | printk("%s: unsupported device at 0x%llx (%d regs): " \ |
66 | "email ebrower@usa.net\n", | 66 | "email ebrower@usa.net\n", |
67 | dp->full_name, res->start, edev->num_addrs); | 67 | dp->full_name, (unsigned long long)res->start, |
68 | edev->num_addrs); | ||
68 | 69 | ||
69 | return -ENODEV; | 70 | return -ENODEV; |
70 | } | 71 | } |