]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: update suggested printk conversions
authorJoe Perches <joe@perches.com>
Thu, 13 Sep 2012 01:01:14 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Sep 2012 05:30:23 +0000 (15:30 +1000)
commitd08068e4174aa9b3c687b689018e7dba313aa7ff
tree1443566be653e4e86d8ec58aadba59442dca3225
parentf154669a618327c253e0eb6467216f4c5b5da1e9
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