Commit:     fcf7770a0bf8e36318f5e73aa5b88bda97b7f920
Parent:     9ba136d0fe5a3dd33533b4a2a21156aa22f80ebe
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Wed Dec 27 13:51:57 2006 -0800
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Fri Mar 9 22:02:35 2007 +0100

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Kristian Høgsberg <[EMAIL PROTECTED]>
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
 drivers/firewire/fw-ohci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index 5392a2b..b046b07 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,
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to