提交 3e1dcb00 编写于 作者: A Andrew Morton 提交者: Stefan Richter

firewire: fw-device printk fix

You don't know what type is used to implement u64.
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 dde2b954
......@@ -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[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册