firewire: printk warning fix
authorAndrew Morton <akpm@osdl.org>
Wed, 27 Dec 2006 21:51:57 +0000 (13:51 -0800)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:35 +0000 (22:02 +0100)
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>
drivers/firewire/fw-ohci.c

index 5392a2b13540ac5599cec013dacd627970f33fd6..b046b0711e13565414b5d076563f2a96ec2ca895 100644 (file)
@@ -285,8 +285,8 @@ ar_context_init(struct ar_context *ctx, struct fw_ohci *ohci, u32 control_set)
                return -ENOMEM;
 
        if (ctx->descriptor_bus & 0xf)
-               fw_notify("descriptor not 16-byte aligned: 0x%08x\n",
-                         ctx->descriptor_bus);
+               fw_notify("descriptor not 16-byte aligned: 0x%08lx\n",
+                         (unsigned long)ctx->descriptor_bus);
 
        ctx->buffer_bus =
                dma_map_single(ohci->card.device, ctx->buffer,