aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-ohci.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-12-27 16:51:57 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 16:02:35 -0500
commitfcf7770a0bf8e36318f5e73aa5b88bda97b7f920 (patch)
tree4a7da2a0e80f6ae8fdde9bf400112a7477f639a5 /drivers/firewire/fw-ohci.c
parent9ba136d0fe5a3dd33533b4a2a21156aa22f80ebe (diff)
firewire: printk warning fix
drivers/firewire/fw-ohci.c: In function 'ar_context_init': drivers/firewire/fw-ohci.c:288: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'dma_addr_t' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-ohci.c')
-rw-r--r--drivers/firewire/fw-ohci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index 5392a2b13540..b046b0711e13 100644
--- a/drivers/firewire/fw-ohci.c
+++ b/drivers/firewire/fw-ohci.c
@@ -285,8 +285,8 @@ ar_context_init(struct ar_context *ctx, struct fw_ohci *ohci, u32 control_set)
285 return -ENOMEM; 285 return -ENOMEM;
286 286
287 if (ctx->descriptor_bus & 0xf) 287 if (ctx->descriptor_bus & 0xf)
288 fw_notify("descriptor not 16-byte aligned: 0x%08x\n", 288 fw_notify("descriptor not 16-byte aligned: 0x%08lx\n",
289 ctx->descriptor_bus); 289 (unsigned long)ctx->descriptor_bus);
290 290
291 ctx->buffer_bus = 291 ctx->buffer_bus =
292 dma_map_single(ohci->card.device, ctx->buffer, 292 dma_map_single(ohci->card.device, ctx->buffer,