mirror of https://gitee.com/openkylin/linux.git
W1 printk format warning fix
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
794543a236
commit
60ed34be8d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue