diff options
author | Joe Perches <joe@perches.com> | 2012-10-04 17:13:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-06 03:04:59 +0900 |
commit | 8f26b8376faad26372a579606ecbd77b20e99dd8 (patch) | |
tree | 50fc1463508ac9fd91a0b437284d84a81918f903 /scripts/recordmcount.c | |
parent | fa64205df9dfd7b7662cc64a7e82115c00e428e5 (diff) | |
download | op-kernel-dev-8f26b8376faad26372a579606ecbd77b20e99dd8.zip op-kernel-dev-8f26b8376faad26372a579606ecbd77b20e99dd8.tar.gz |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions