aboutsummaryrefslogtreecommitdiff
path: root/drivers/firewire
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-04-26 00:16:04 -0700
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-04-27 01:28:47 +0200
commit3e1dcb00d59473d52d4ca80a57408b3d953e4573 (patch)
tree0eeef8b995e319b0f6481d8b026342ba4a1631d1 /drivers/firewire
parentdde2b954302d143deee6dbd931ba2aa21413bb0a (diff)
firewire: fw-device printk fix
You don't know what type is used to implement u64. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/fw-device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firewire/fw-device.c b/drivers/firewire/fw-device.c
index 7503b8d9abe..3841086048d 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[] = {