Skip to content

Commit

Permalink
drivers/base/dd.c incorrect pr_debug() parameters
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Frank Rowand authored and Greg Kroah-Hartman committed Apr 17, 2014
1 parent 98b0f81 commit 94f8cc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/base/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 94f8cc0

Please sign in to comment.