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>
This commit is contained in:
parent
9ba136d0fe
commit
fcf7770a0b
|
@ -285,8 +285,8 @@ ar_context_init(struct ar_context *ctx, struct fw_ohci *ohci, u32 control_set)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
if (ctx->descriptor_bus & 0xf)
|
if (ctx->descriptor_bus & 0xf)
|
||||||
fw_notify("descriptor not 16-byte aligned: 0x%08x\n",
|
fw_notify("descriptor not 16-byte aligned: 0x%08lx\n",
|
||||||
ctx->descriptor_bus);
|
(unsigned long)ctx->descriptor_bus);
|
||||||
|
|
||||||
ctx->buffer_bus =
|
ctx->buffer_bus =
|
||||||
dma_map_single(ohci->card.device, ctx->buffer,
|
dma_map_single(ohci->card.device, ctx->buffer,
|
||||||
|
|
Loading…
Reference in New Issue