]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: update suggested printk conversions
authorJoe Perches <joe@perches.com>
Fri, 28 Sep 2012 00:20:29 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Sep 2012 06:08:09 +0000 (16:08 +1000)
commitaf2c719ab94fcb9e914afa1ed61be285a123556d
tree9c4cba8e933c827f55938a423a2ae95f407d86d7
parentb6447387f3f35291a78bf09b3ce99d793870c76b
checkpatch: update suggested printk conversions

Direct conversion of printk(KERN_<LEVEL>...  to pr_<level> isn't the
preferred conversion when a struct net_device or struct device is
available.

Hint that using netdev_<level> or dev_<level> is preferred to using
pr_<level>.  Add netdev_dbg and dev_dbg variants too.

Miscellaneous whitespace neatening of a misplaced close brace.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Greg KH <gregkh@linuxfoundation.org>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl