Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3e1dcb00d59473d52d4ca80a57408b3d953e4573
Commit:     3e1dcb00d59473d52d4ca80a57408b3d953e4573
Parent:     dde2b954302d143deee6dbd931ba2aa21413bb0a
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Thu Apr 26 00:16:04 2007 -0700
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 01:28:47 2007 +0200

    firewire: fw-device printk fix
    
    You don't know what type is used to implement u64.
    
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
---
 drivers/firewire/fw-device.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/firewire/fw-device.c b/drivers/firewire/fw-device.c
index 7503b8d..3841086 100644
--- a/drivers/firewire/fw-device.c
+++ b/drivers/firewire/fw-device.c
@@ -362,7 +362,8 @@ guid_show(struct device *dev, struct device_attribute 
*attr, char *buf)
 
        guid = ((u64)device->config_rom[3] << 32) | device->config_rom[4];
 
-       return snprintf(buf, PAGE_SIZE, "0x%016llx\n", guid);
+       return snprintf(buf, PAGE_SIZE, "0x%016llx\n",
+                       (unsigned long long)guid);
 }
 
 static struct device_attribute fw_device_attributes[] = {
-
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