summaryrefslogtreecommitdiff
path: root/drivers/base/dd.c
diff options
context:
space:
mode:
authorFrank Rowand <frowand.list@gmail.com>2014-04-17 04:12:30 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-17 06:34:46 +0400
commit94f8cc0eea03648e5cc5de1a4e7dc464de92cc74 (patch)
tree9bafde0caad6f0087c988e3be6d378c52e7d6289 /drivers/base/dd.c
parent98b0f811aade1b7c6e7806c86aa0befd5919d65f (diff)
downloadlinux-94f8cc0eea03648e5cc5de1a4e7dc464de92cc74.tar.xz
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>
Diffstat (limited to 'drivers/base/dd.c')
-rw-r--r--drivers/base/dd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index 06051767393f..8986b9f22781 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -187,8 +187,8 @@ static void driver_bound(struct device *dev)
return;
}
- pr_debug("driver: '%s': %s: bound to device '%s'\n", dev_name(dev),
- __func__, dev->driver->name);
+ pr_debug("driver: '%s': %s: bound to device '%s'\n", dev->driver->name,
+ __func__, dev_name(dev));
klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices);