aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRandy Dunlap <rddunlap@osdl.org>2005-01-14 23:34:34 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-14 23:34:34 -0800
commitadae02123364ca1caecbec65179b45d7444b3c76 (patch)
tree1426f13298373df494eb46fd8a235de28fdb694d /arch
parente50cf501098f4162df3daaa84cb9067e1054dfc4 (diff)
downloadhistory-adae02123364ca1caecbec65179b45d7444b3c76.tar.gz
[PATCH] swiotlb: fix gcc printk warning
swiotlb: Fix gcc printk format warning on x86_64, OK for ia64: arch/ia64/lib/swiotlb.c:351: warning: long unsigned int format, long long unsigned int arg (arg 2) Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/lib/swiotlb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/lib/swiotlb.c b/arch/ia64/lib/swiotlb.c
index d38b01538184bd..a661cc8ff63fec 100644
--- a/arch/ia64/lib/swiotlb.c
+++ b/arch/ia64/lib/swiotlb.c
@@ -357,8 +357,8 @@ swiotlb_alloc_coherent(struct device *hwdev, size_t size,
/* Confirm address can be DMA'd by device */
if (address_needs_mapping(hwdev, dev_addr)) {
- printk("hwdev DMA mask = 0x%016lx, dev_addr = 0x%016lx\n",
- *hwdev->dma_mask, dev_addr);
+ printk("hwdev DMA mask = 0x%016Lx, dev_addr = 0x%016lx\n",
+ (unsigned long long)*hwdev->dma_mask, dev_addr);
panic("swiotlb_alloc_coherent: allocated memory is out of "
"range for device");
}