diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-04-26 03:16:04 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-26 19:28:47 -0400 |
commit | 3e1dcb00d59473d52d4ca80a57408b3d953e4573 (patch) | |
tree | 0eeef8b995e319b0f6481d8b026342ba4a1631d1 /drivers | |
parent | dde2b954302d143deee6dbd931ba2aa21413bb0a (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')
-rw-r--r-- | 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 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) | |||
362 | 362 | ||
363 | guid = ((u64)device->config_rom[3] << 32) | device->config_rom[4]; | 363 | guid = ((u64)device->config_rom[3] << 32) | device->config_rom[4]; |
364 | 364 | ||
365 | return snprintf(buf, PAGE_SIZE, "0x%016llx\n", guid); | 365 | return snprintf(buf, PAGE_SIZE, "0x%016llx\n", |
366 | (unsigned long long)guid); | ||
366 | } | 367 | } |
367 | 368 | ||
368 | static struct device_attribute fw_device_attributes[] = { | 369 | static struct device_attribute fw_device_attributes[] = { |