Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e6a73ab1c8e814ac7b0d69f44fde63299b639489
Commit:     e6a73ab1c8e814ac7b0d69f44fde63299b639489
Parent:     ce54d1616302117fa98513ae916bb3333e1c02ea
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 13 16:01:37 2007 -0800
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Wed Jan 23 05:24:13 2008 -0500

    drivers/ata/libata-eh.c: fix printk warning
    
    drivers/ata/libata-eh.c: In function `ata_port_pbar_desc':
    drivers/ata/libata-eh.c:215: warning: long long unsigned int format, long 
unsigned int arg (arg 4)
    
    Cc: Jeff Garzik <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/ata/libata-eh.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index d7d5a5a..1bc1acf 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -231,7 +231,8 @@ void ata_port_pbar_desc(struct ata_port *ap, int bar, 
ssize_t offset,
        if (offset < 0)
                ata_port_desc(ap, "%s [EMAIL PROTECTED]", name, type, len, 
start);
        else
-               ata_port_desc(ap, "%s 0x%llx", name, start + offset);
+               ata_port_desc(ap, "%s 0x%llx", name,
+                               start + (unsigned long long)offset);
 }
 
 #endif /* CONFIG_PCI */
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to