diff options
author | Joe Perches <joe@perches.com> | 2012-05-31 16:26:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-31 17:49:27 -0700 |
commit | 243f3803cf2a3665092c5fd6f924f453694681a6 (patch) | |
tree | a05005eb618c2770a2e56c644ae04d8e36c58c89 /init | |
parent | 9a4cad4e25b91f48494f13fce3d25ea44bec7472 (diff) | |
download | lwn-243f3803cf2a3665092c5fd6f924f453694681a6.tar.gz lwn-243f3803cf2a3665092c5fd6f924f453694681a6.zip |
checkpatch: suggest pr_<level> over printk(KERN_<LEVEL>
Suggest the shorter pr_<level> instead of printk(KERN_<LEVEL>.
Prefer to use pr_<level> over bare printks.
Prefer to use pr_warn over pr_warning.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions