summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2007-05-08 11:31:19 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 22:15:14 +0400
commit60ed34be8de04cc8082a163a665e01682c7bc937 (patch)
tree2b0f7fa09c943e0ffbeaaa9a5d8ca87cd8ba1d81 /drivers
parent794543a236074f49a8af89ef08ef6a753e4777e5 (diff)
downloadlinux-60ed34be8de04cc8082a163a665e01682c7bc937.tar.xz
W1 printk format warning fix
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/w1/w1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c
index 63c07243993c..7d6876dbcc96 100644
--- a/drivers/w1/w1.c
+++ b/drivers/w1/w1.c
@@ -459,7 +459,7 @@ static int __w1_attach_slave_device(struct w1_slave *sl)
(unsigned long long) sl->reg_num.id);
dev_dbg(&sl->dev, "%s: registering %s as %p.\n", __func__,
- &sl->dev.bus_id[0]);
+ &sl->dev.bus_id[0], sl);
err = device_register(&sl->dev);
if (err < 0) {