From 60ed34be8de04cc8082a163a665e01682c7bc937 Mon Sep 17 00:00:00 2001 From: Evgeniy Polyakov Date: Tue, 8 May 2007 00:31:19 -0700 Subject: [PATCH] W1 printk format warning fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/w1/w1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.20.1