From: Andrew Morton Date: Wed, 27 Dec 2006 21:51:57 +0000 (-0800) Subject: firewire: printk warning fix X-Git-Tag: v2.6.22-rc1~111^2~133 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcf7770a0bf8e36318f5e73aa5b88bda97b7f920;p=linux-2.6 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 Signed-off-by: Kristian Høgsberg Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 5392a2b135..b046b0711e 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) 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,