drivers/base/dd.c incorrect pr_debug() parameters
pr_debug() parameters are reverse order of format string Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
98b0f811aa
commit
94f8cc0eea
@@ -187,8 +187,8 @@ static void driver_bound(struct device *dev)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
pr_debug("driver: '%s': %s: bound to device '%s'\n", dev_name(dev),
|
pr_debug("driver: '%s': %s: bound to device '%s'\n", dev->driver->name,
|
||||||
__func__, dev->driver->name);
|
__func__, dev_name(dev));
|
||||||
|
|
||||||
klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices);
|
klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user