public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [DRIVER CORE] drivers/base/dd.c incorrect pr_debug() parameters
@ 2014-04-17  0:12 Frank Rowand
  2014-04-17  0:48 ` Joe Perches
  2014-04-17  2:34 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 5+ messages in thread
From: Frank Rowand @ 2014-04-17  0:12 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Linux Kernel list

pr_debug() parameters are reverse order of format string

Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com>
---

 drivers/base/dd.c |    4 	2 +	2 -	0 !
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: b/drivers/base/dd.c
===================================================================
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -187,8 +187,8 @@ static void driver_bound(struct device *
 		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);
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-17  2:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17  0:12 [DRIVER CORE] drivers/base/dd.c incorrect pr_debug() parameters Frank Rowand
2014-04-17  0:48 ` Joe Perches
2014-04-17  1:12   ` Frank Rowand
2014-04-17  1:23     ` Joe Perches
2014-04-17  2:34 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox