commit | 243f3803cf2a3665092c5fd6f924f453694681a6 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Thu May 31 16:26:09 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 31 17:49:27 2012 -0700 |
tree | a05005eb618c2770a2e56c644ae04d8e36c58c89 | |
parent | 9a4cad4e25b91f48494f13fce3d25ea44bec7472 [diff] |
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>