summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/amd76xrom.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-12 15:15:17 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-27 09:23:58 -0700
commit176dfc633bbe4e03f4557d2beeefb4f0cc7f0efa (patch)
treea0229be4a8f8c8cc2a5c244825a693611acad21d /drivers/mtd/maps/amd76xrom.c
parent1396a8c3f7cec9f5e0d00bd089be21fc468f0f1c (diff)
downloadop-kernel-dev-176dfc633bbe4e03f4557d2beeefb4f0cc7f0efa.zip
op-kernel-dev-176dfc633bbe4e03f4557d2beeefb4f0cc7f0efa.tar.gz
[PATCH] 64bit resource: fix up printks for resources in mtd 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/mtd/maps/amd76xrom.c')
-rw-r--r--drivers/mtd/maps/amd76xrom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mtd/maps/amd76xrom.c b/drivers/mtd/maps/amd76xrom.c
index c350878..a505870 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,
window->rsrc.parent = NULL;
printk(KERN_ERR MOD_NAME
" %s(): Unable to register resource"
- " 0x%.08lx-0x%.08lx - kernel bug?\n",
+ " 0x%.16llx-0x%.16llx - kernel bug?\n",
__func__,
- window->rsrc.start, window->rsrc.end);
+ (unsigned long long)window->rsrc.start,
+ (unsigned long long)window->rsrc.end);
}
#if 0
OpenPOWER on IntegriCloud