From: Frank Rowand Date: Thu, 17 Apr 2014 00:12:30 +0000 (-0700) Subject: drivers/base/dd.c incorrect pr_debug() parameters X-Git-Tag: MMI-PSA29.97-13-9~12330^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94f8cc0eea03648e5cc5de1a4e7dc464de92cc74;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drivers/base/dd.c incorrect pr_debug() parameters pr_debug() parameters are reverse order of format string Signed-off-by: Frank Rowand Signed-off-by: Greg Kroah-Hartman --- 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);