summaryrefslogtreecommitdiffstats
path: root/drivers/base/dd.c
diff options
context:
space:
mode:
authorFrank Rowand <frowand.list@gmail.com>2014-04-17 02:12:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-17 04:34:46 +0200
commit94f8cc0eea03648e5cc5de1a4e7dc464de92cc74 (patch)
tree9bafde0caad6f0087c988e3be6d378c52e7d6289 /drivers/base/dd.c
parentDocumentation: Update stable address in Chinese and Japanese translations (diff)
downloadlinux-94f8cc0eea03648e5cc5de1a4e7dc464de92cc74.tar.xz
linux-94f8cc0eea03648e5cc5de1a4e7dc464de92cc74.zip
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);