Subject: firewire: fw-device printk fix Date: Thu, 26 Apr 2007 00:16:04 -0700 From: Andrew Morton You don't know what type is used to implement u64. Signed-off-by: Andrew Morton Signed-off-by: Stefan Richter --- drivers/firewire/fw-device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/firewire/fw-device.c~fw-device-printk-fix drivers/firewire/fw-device.c --- a/drivers/firewire/fw-device.c~fw-device-printk-fix +++ a/drivers/firewire/fw-device.c @@ -362,7 +362,8 @@ guid_show(struct device *dev, struct dev 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[] = { _