Commit ce776473 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] W1: fix printk format warning

Use 'unsigned long long' for __u64 printk:

drivers/w1/w1.c:415: warning: long long unsigned int format, __u64 arg (arg 6)
Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ccf62903
...@@ -412,7 +412,8 @@ static int w1_attach_slave_device(struct w1_master *dev, struct w1_reg_num *rn) ...@@ -412,7 +412,8 @@ static int w1_attach_slave_device(struct w1_master *dev, struct w1_reg_num *rn)
if (!f) { if (!f) {
spin_unlock(&w1_flock); spin_unlock(&w1_flock);
dev_info(&dev->dev, "Family %x for %02x.%012llx.%02x is not registered.\n", dev_info(&dev->dev, "Family %x for %02x.%012llx.%02x is not registered.\n",
rn->family, rn->family, rn->id, rn->crc); rn->family, rn->family,
(unsigned long long)rn->id, rn->crc);
kfree(sl); kfree(sl);
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment